summaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-03 20:23:21 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2010-09-03 20:23:21 +0200
commitb56db27d08c168a9167bf2226baaebf24a0fe5aa (patch)
tree77009b128a87b1a5d61413500b6cc6ed1f196c24 /ui.c
parentam 4c7c2f73: (-s ours) am 532c8600: Revert 21f0f97ebabb47adcbfe8d38b02685f2019b4eb3 (diff)
parentam 4bc98062: add --show_text option to recovery (diff)
downloadandroid_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.gz
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.bz2
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.lz
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.xz
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.tar.zst
android_bootable_recovery-b56db27d08c168a9167bf2226baaebf24a0fe5aa.zip
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 ee6a0c5ca..84a9b85c2 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);