summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
authorxNUTx <nut@fun-industries.nl>2014-07-18 01:30:58 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-08-10 15:57:14 +0200
commite85f02dd9186079cf67a4d3e7d1657d248e28963 (patch)
tree839ccd8f8a2c9c67c33f84b6c96ec38405939c11 /gui/action.cpp
parentTW_SCREEN_BLANK_ON_BOOT will jolt the screen/touch driver. (diff)
downloadandroid_bootable_recovery-e85f02dd9186079cf67a4d3e7d1657d248e28963.tar
android_bootable_recovery-e85f02dd9186079cf67a4d3e7d1657d248e28963.tar.gz
android_bootable_recovery-e85f02dd9186079cf67a4d3e7d1657d248e28963.tar.bz2
android_bootable_recovery-e85f02dd9186079cf67a4d3e7d1657d248e28963.tar.lz
android_bootable_recovery-e85f02dd9186079cf67a4d3e7d1657d248e28963.tar.xz
android_bootable_recovery-e85f02dd9186079cf67a4d3e7d1657d248e28963.tar.zst
android_bootable_recovery-e85f02dd9186079cf67a4d3e7d1657d248e28963.zip
Diffstat (limited to 'gui/action.cpp')
-rw-r--r--gui/action.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index b77e7e751..c471533ef 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -824,6 +824,11 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */)
return 0;
}
+ if (function == "setbrightness")
+ {
+ return TWFunc::Set_Brightness(arg);
+ }
+
if (isThreaded)
{
if (function == "fileexists")