diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-04-15 18:06:18 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit> | 2014-04-16 17:35:37 +0200 |
commit | 9c102b536dab6091031aeff49158bd13b8070635 (patch) | |
tree | 66e490ba705013703b8270827e2c894386f29607 | |
parent | Support alternative .android_secure location (diff) | |
download | android_bootable_recovery-9c102b536dab6091031aeff49158bd13b8070635.tar android_bootable_recovery-9c102b536dab6091031aeff49158bd13b8070635.tar.gz android_bootable_recovery-9c102b536dab6091031aeff49158bd13b8070635.tar.bz2 android_bootable_recovery-9c102b536dab6091031aeff49158bd13b8070635.tar.lz android_bootable_recovery-9c102b536dab6091031aeff49158bd13b8070635.tar.xz android_bootable_recovery-9c102b536dab6091031aeff49158bd13b8070635.tar.zst android_bootable_recovery-9c102b536dab6091031aeff49158bd13b8070635.zip |
Diffstat (limited to '')
-rw-r--r-- | data.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -953,6 +953,7 @@ void DataManager::SetDefaultValues() if (findbright.empty()) { // Attempt to locate the brightness file findbright = Find_File::Find("brightness", "/sys/class/backlight"); + if (findbright.empty()) findbright = Find_File::Find("brightness", "/sys/class/leds/lcd-backlight"); } if (findbright.empty()) { LOGINFO("Unable to locate brightness file\n"); |