summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2020-07-31 14:52:21 +0200
committerDavide Garberi <dade.garberi@gmail.com>2020-07-31 14:53:23 +0200
commit0fef786abd3393f6d5b8a975131ace0ff09f6283 (patch)
treedd54d9bbcc94a8c98fb9e037472259eb99d82c71
parent2347de87f66b6875bd744d11d7d7af4460498410 (diff)
sdm660-common: light: Report the correct value in LCD fallback log
Change-Id: Iff93b035ce99aeb8408de227dfcee6c7696fedfb
-rw-r--r--light/Light.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/light/Light.cpp b/light/Light.cpp
index a9423a0..145ed32 100644
--- a/light/Light.cpp
+++ b/light/Light.cpp
@@ -119,7 +119,7 @@ Light::Light() {
} else {
max_screen_brightness_ = kDefaultMaxScreenBrightness;
LOG(ERROR) << "Failed to read max screen brightness, fallback to "
- << kDefaultMaxLedBrightness;
+ << kDefaultMaxScreenBrightness;
}
if (ReadFileToString(WHITE_ATTR(max_brightness), &buf)) {