aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorKoushik Dutta <koush@koushikdutta.com>2013-04-10 14:46:43 -0700
committerKoushik Dutta <koushd@gmail.com>2013-04-10 18:48:01 -0700
commitfba8e1618c86c2b6ae571c6ed1f19f776fde4ab7 (patch)
treef53a1055f79fd6395a30830cbdd3617ce0427e7b /common.h
parentd9ea07f6bbf4e8e795cd298724ffd334268ed9d8 (diff)
downloadbootable_recovery-fba8e1618c86c2b6ae571c6ed1f19f776fde4ab7.zip
bootable_recovery-fba8e1618c86c2b6ae571c6ed1f19f776fde4ab7.tar.gz
bootable_recovery-fba8e1618c86c2b6ae571c6ed1f19f776fde4ab7.tar.bz2
Allow cancelation of adb sideload.
Change-Id: I1cc5a6719c3fe547afe944a94e134519c2c45fc6
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index b203362..7580f32 100644
--- a/common.h
+++ b/common.h
@@ -23,6 +23,7 @@
void ui_init();
// Use KEY_* codes from <linux/input.h> or KEY_DREAM_* from "minui/minui.h".
+void ui_cancel_wait_key();
int ui_wait_key(); // waits for a key/button press, returns the code
int ui_key_pressed(int key); // returns >0 if the code is currently pressed
int ui_text_visible(); // returns >0 if text log is currently visible