summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLong Ling <longling@google.com>2022-02-22 15:56:10 -0800
committerLong Ling <longling@google.com>2022-02-22 15:56:10 -0800
commit059cf836e9482d4fe15815cc56d797c6ac63b45d (patch)
tree8999299840619bef3583805a5d7ee9042320bcff
parentab41f421c73e1eb42f7185a1a2fdbed7ff0253fe (diff)
libhwc2.1: set default SDR dimming threshold to 0
Bug: 204452826 Change-Id: Ie994a5b717a8fe79b8de41898f83017aa3642597
-rw-r--r--libhwc2.1/libresource/ExynosResourceManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhwc2.1/libresource/ExynosResourceManager.cpp b/libhwc2.1/libresource/ExynosResourceManager.cpp
index 55fb02e..b7b74ae 100644
--- a/libhwc2.1/libresource/ExynosResourceManager.cpp
+++ b/libhwc2.1/libresource/ExynosResourceManager.cpp
@@ -204,7 +204,7 @@ ExynosResourceManager::ExynosResourceManager(ExynosDevice *device)
char value[PROPERTY_VALUE_MAX];
mMinimumSdrDimRatio = property_get("debug.hwc.min_sdr_dimming", value, nullptr) > 0
- ? std::atof(value) : 1.0f;
+ ? std::atof(value) : 0.0f;
}
ExynosResourceManager::~ExynosResourceManager()