summaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2010-09-03 20:00:13 +0200
committerDoug Zongker <dougz@android.com>2010-09-03 20:18:36 +0200
commit4bc980626c1cf6f1ea7d36e4b54e0023c896c9de (patch)
tree0859a3b4fcf443a194f3c36c3ac48fc072ec5e20 /ui.c
parentRevert 21f0f97ebabb47adcbfe8d38b02685f2019b4eb3 (diff)
downloadandroid_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.gz
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.bz2
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.lz
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.xz
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.zst
android_bootable_recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.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 01a005f80..e2b2a4491 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);