aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
authorDoug Zongker2010-09-03 13:00:13 -0500
committerDoug Zongker2010-09-03 13:18:36 -0500
commit4bc980626c1cf6f1ea7d36e4b54e0023c896c9de (patch)
tree0859a3b4fcf443a194f3c36c3ac48fc072ec5e20 /ui.c
parent532c86002bb89db43094b27ec50f001ae173c650 (diff)
downloadplatform-bootable-recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.gz
platform-bootable-recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.tar.xz
platform-bootable-recovery-4bc980626c1cf6f1ea7d36e4b54e0023c896c9de.zip
add --show_text option to recovery
Change-Id: Ie6c6c920260dfa759fbb15b1f352d6bb0fa7146c
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 01a005f8..e2b2a449 100644
--- a/ui.c
+++ b/ui.c
@@ -481,6 +481,14 @@ int ui_text_visible()
481 return visible; 481 return visible;
482} 482}
483 483
484void ui_show_text(int visible)
485{
486 pthread_mutex_lock(&gUpdateMutex);
487 show_text = visible;
488 update_screen_locked();
489 pthread_mutex_unlock(&gUpdateMutex);
490}
491
484int ui_wait_key() 492int ui_wait_key()
485{ 493{
486 pthread_mutex_lock(&key_queue_mutex); 494 pthread_mutex_lock(&key_queue_mutex);