aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-03 11:23:21 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-03 11:23:21 -0700
commitb56db27d08c168a9167bf2226baaebf24a0fe5aa (patch)
tree77009b128a87b1a5d61413500b6cc6ed1f196c24 /ui.c
parent5200114fe8c1c1503176c891230200bf8d5ec632 (diff)
parent28cae98c834fb4bc47588b34dc3fe19811d5162b (diff)
downloadbootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.zip
bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.gz
bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.bz2
am 28cae98c: am 4bc98062: add --show_text option to recovery
Merge commit '28cae98c834fb4bc47588b34dc3fe19811d5162b' * commit '28cae98c834fb4bc47588b34dc3fe19811d5162b': add --show_text option to recovery
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index ee6a0c5..84a9b85 100644
--- a/ui.c
+++ b/ui.c
@@ -481,6 +481,14 @@ int ui_text_visible()
return visible;
}
+void ui_show_text(int visible)
+{
+ pthread_mutex_lock(&gUpdateMutex);
+ show_text = visible;
+ update_screen_locked();
+ pthread_mutex_unlock(&gUpdateMutex);
+}
+
int ui_wait_key()
{
pthread_mutex_lock(&key_queue_mutex);