summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-03-22 22:42:28 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-03-22 22:42:28 -0700
commit88c1c291c99bee0c5f7217506af5eb6c18112d23 (patch)
treedc9748f01c9571cde0363ac65c274d6c0e2ac203 /sdm/libs/hwc2
parent155a6fc323d805420439e375f37fd327365d5ee6 (diff)
parent2fc16924f48e3a8a12fe2eb9fdbedbdaf832a9a8 (diff)
downloaddisplay-88c1c291c99bee0c5f7217506af5eb6c18112d23.tar.gz
Merge "sdm: comply with treble guidelines"
Diffstat (limited to 'sdm/libs/hwc2')
-rw-r--r--sdm/libs/hwc2/hwc_display.cpp2
-rw-r--r--sdm/libs/hwc2/hwc_display_primary.cpp3
-rw-r--r--sdm/libs/hwc2/hwc_tonemapper.cpp2
3 files changed, 3 insertions, 4 deletions
diff --git a/sdm/libs/hwc2/hwc_display.cpp b/sdm/libs/hwc2/hwc_display.cpp
index 219fab57..0b5676ad 100644
--- a/sdm/libs/hwc2/hwc_display.cpp
+++ b/sdm/libs/hwc2/hwc_display.cpp
@@ -364,7 +364,7 @@ int HWCDisplay::Init() {
}
validated_ = false;
- HWCDebugHandler::Get()->GetProperty("sys.hwc_disable_hdr", &disable_hdr_handling_);
+ HWCDebugHandler::Get()->GetProperty(DISABLE_HDR, &disable_hdr_handling_);
if (disable_hdr_handling_) {
DLOGI("HDR Handling disabled");
}
diff --git a/sdm/libs/hwc2/hwc_display_primary.cpp b/sdm/libs/hwc2/hwc_display_primary.cpp
index b8a4c7cf..75ac0f98 100644
--- a/sdm/libs/hwc2/hwc_display_primary.cpp
+++ b/sdm/libs/hwc2/hwc_display_primary.cpp
@@ -113,8 +113,7 @@ int HWCDisplayPrimary::Init() {
}
color_mode_ = new HWCColorMode(display_intf_);
color_mode_->Init();
- HWCDebugHandler::Get()->GetProperty("vendor.display.enable_default_color_mode",
- &default_mode_status_);
+ HWCDebugHandler::Get()->GetProperty(ENABLE_DEFAULT_COLOR_MODE, &default_mode_status_);
return status;
}
diff --git a/sdm/libs/hwc2/hwc_tonemapper.cpp b/sdm/libs/hwc2/hwc_tonemapper.cpp
index 2ae1afc1..22896f94 100644
--- a/sdm/libs/hwc2/hwc_tonemapper.cpp
+++ b/sdm/libs/hwc2/hwc_tonemapper.cpp
@@ -333,7 +333,7 @@ void HWCToneMapper::DumpToneMapOutput(ToneMapSession *session, int *acquire_fd)
DisplayError HWCToneMapper::AcquireToneMapSession(Layer *layer, uint32_t *session_index,
PrimariesTransfer blend_cs) {
- // When the property sdm.disable_hdr_lut_gen is set, the lutEntries and gridEntries in
+ // When the property vendor.display.disable_hdr_lut_gen is set, the lutEntries and gridEntries in
// the Lut3d will be NULL, clients needs to allocate the memory and set correct 3D Lut
// for Tonemapping.
if (!layer->lut_3d.lutEntries || !layer->lut_3d.dim) {