summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-01-21 15:59:20 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-01-21 15:59:20 +0100
commitb49b652c6ec79b2c71fd893ac9c806cd9a6713a5 (patch)
tree863ebaa0a42f6ae98af94ed99160f779c6b19e12
parentMerge changes I4c369222,I8a8ad4b3 into android-4.4 (diff)
parentForce GUI render after setting brightness (diff)
downloadandroid_bootable_recovery-b49b652c6ec79b2c71fd893ac9c806cd9a6713a5.tar
android_bootable_recovery-b49b652c6ec79b2c71fd893ac9c806cd9a6713a5.tar.gz
android_bootable_recovery-b49b652c6ec79b2c71fd893ac9c806cd9a6713a5.tar.bz2
android_bootable_recovery-b49b652c6ec79b2c71fd893ac9c806cd9a6713a5.tar.lz
android_bootable_recovery-b49b652c6ec79b2c71fd893ac9c806cd9a6713a5.tar.xz
android_bootable_recovery-b49b652c6ec79b2c71fd893ac9c806cd9a6713a5.tar.zst
android_bootable_recovery-b49b652c6ec79b2c71fd893ac9c806cd9a6713a5.zip
Diffstat (limited to '')
-rw-r--r--gui/blanktimer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/blanktimer.cpp b/gui/blanktimer.cpp
index 833305395..c8d1bcc28 100644
--- a/gui/blanktimer.cpp
+++ b/gui/blanktimer.cpp
@@ -142,6 +142,7 @@ int blanktimer::setBrightness(int brightness) {
bstring = buff;
if ((TWFunc::write_file(brightness_path, bstring)) != 0)
return -1;
+ gui_forceRender();
return 0;
}