aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorkatao2017-12-07 21:02:43 -0600
committerkatao2017-12-14 07:09:52 -0600
commitc35c1b079756e239ac4812ea6c4695aa6f710729 (patch)
treef1895e154d30671a8cf303d5abe2f670f15fb462 /ui.h
parent3fe230a1e47863e43fec629a2cfe1f51915e9f32 (diff)
downloadplatform-bootable-recovery-c35c1b079756e239ac4812ea6c4695aa6f710729.tar.gz
platform-bootable-recovery-c35c1b079756e239ac4812ea6c4695aa6f710729.tar.xz
platform-bootable-recovery-c35c1b079756e239ac4812ea6c4695aa6f710729.zip
recovery: Porting screensave mode for new platform.
On new board platform the brightness path of sys/class/leds/lcd-backlight is deprecated,instead of /sys/class/backlight/panel0-backlight/. Test: reboot into recovery on sdm845. Change-Id: Idf0027ab888f9f982a8eef7de230ce3635e7c300 Signed-off-by: katao <katao@xiaomi.com>
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index 4086023a..4c54d691 100644
--- a/ui.h
+++ b/ui.h
@@ -148,6 +148,8 @@ class RecoveryUI {
148 // be configured via subclassing. Setting brightness_normal_ to 0 to disable screensaver. 148 // be configured via subclassing. Setting brightness_normal_ to 0 to disable screensaver.
149 unsigned int brightness_normal_; 149 unsigned int brightness_normal_;
150 unsigned int brightness_dimmed_; 150 unsigned int brightness_dimmed_;
151 std::string brightness_file_;
152 std::string max_brightness_file_;
151 153
152 // Whether we should listen for touch inputs (default: false). 154 // Whether we should listen for touch inputs (default: false).
153 bool touch_screen_allowed_; 155 bool touch_screen_allowed_;