diff options
author | Tao Bao <tbao@google.com> | 2017-01-31 21:24:16 -0800 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2017-01-31 21:27:27 -0800 |
commit | 8eec37330b94e60f2d632fade87f2f64626e1423 (patch) | |
tree | 345f11572dfd3af6384cda5cbcd425d742f78204 /ui.cpp | |
parent | 7ab9c3812daf486f46c83dec3e341bf668e9513f (diff) | |
download | android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar.gz android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.tar.bz2 android_bootable_recovery-8eec37330b94e60f2d632fade87f2f64626e1423.zip |
Fix a log issue in ui.cpp.
It's a copy/paste error when addressing reviewer's comment for commit
6278bdf3490a2f6682f5a9c47350b3d9f92a9165.
Test: recovery gives the right message (e.g. "Permission denied") when
it fails to read max_brightness.
Change-Id: I10372c82595bdc00a6f6725f036c02721b19a1aa
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ bool RecoveryUI::InitScreensaver() { // we don't have a good way to query the default value. std::string content; if (!android::base::ReadFileToString(MAX_BRIGHTNESS_FILE, &content)) { - LOG(WARNING) << "Failed to read max brightness: " << content; + PLOG(WARNING) << "Failed to read max brightness"; return false; } |