commit | 4bc980626c1cf6f1ea7d36e4b54e0023c896c9de | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Fri Sep 03 11:00:13 2010 -0700 |
committer | Doug Zongker <dougz@android.com> | Fri Sep 03 11:18:36 2010 -0700 |
tree | 0859a3b4fcf443a194f3c36c3ac48fc072ec5e20 | |
parent | 532c86002bb89db43094b27ec50f001ae173c650 [diff] [blame] |
add --show_text option to recovery Change-Id: Ie6c6c920260dfa759fbb15b1f352d6bb0fa7146c
diff --git a/ui.c b/ui.c index 01a005f..e2b2a44 100644 --- a/ui.c +++ b/ui.c
@@ -481,6 +481,14 @@ 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);