summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_display_primary.cpp
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/hwc_display_primary.cpp
parent155a6fc323d805420439e375f37fd327365d5ee6 (diff)
parent2fc16924f48e3a8a12fe2eb9fdbedbdaf832a9a8 (diff)
downloaddisplay-88c1c291c99bee0c5f7217506af5eb6c18112d23.tar.gz
Merge "sdm: comply with treble guidelines"
Diffstat (limited to 'sdm/libs/hwc2/hwc_display_primary.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_display_primary.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}