From 0fef786abd3393f6d5b8a975131ace0ff09f6283 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Fri, 31 Jul 2020 14:52:21 +0200 Subject: sdm660-common: light: Report the correct value in LCD fallback log Change-Id: Iff93b035ce99aeb8408de227dfcee6c7696fedfb --- light/Light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3