display: Remove dead metadata code
The IGC field in the metadata struct is not set, so getting will
just return the default value. The helper for HSIC is only called
in a legacy test.
CRs-Fixed: 2606686
Change-Id: Ie7786e42d917c076439ac62f5a351272ce5882a3
diff --git a/libqdutils/display_config.cpp b/libqdutils/display_config.cpp
index f9e7e33..c283b38 100644
--- a/libqdutils/display_config.cpp
+++ b/libqdutils/display_config.cpp
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2013-2014, 2016, 2018, 2019, The Linux Foundation. All rights reserved.
+* Copyright (c) 2013-2014, 2016, 2018-2020, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -85,23 +85,6 @@
return err;
}
-int setHSIC(int dpy, const HSICData_t& hsic_data) {
- status_t err = (status_t) FAILED_TRANSACTION;
- sp<IQService> binder = getBinder();
- Parcel inParcel, outParcel;
- inParcel.writeInt32(dpy);
- inParcel.writeInt32(hsic_data.hue);
- inParcel.writeFloat(hsic_data.saturation);
- inParcel.writeInt32(hsic_data.intensity);
- inParcel.writeFloat(hsic_data.contrast);
- if(binder != NULL) {
- err = binder->dispatch(IQService::SET_HSIC_DATA, &inParcel, &outParcel);
- }
- if(err)
- ALOGE("%s: Failed to get external status err=%d", __FUNCTION__, err);
- return err;
-}
-
int getDisplayVisibleRegion(int dpy, hwc_rect_t &rect) {
status_t err = (status_t) FAILED_TRANSACTION;
sp<IQService> binder = getBinder();