summaryrefslogtreecommitdiffstats
path: root/device.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 20:50:56 +0200
committerElliott Hughes <enh@google.com>2015-04-09 20:50:56 +0200
commit42c12306c90e9ac467262f838dba30a5ff81957e (patch)
tree377eb017c7f7ea200040b88981db97e9e8292b5a /device.h
parentMerge "Move file paging into ScreenRecoveryUI." (diff)
downloadandroid_bootable_recovery-42c12306c90e9ac467262f838dba30a5ff81957e.tar
android_bootable_recovery-42c12306c90e9ac467262f838dba30a5ff81957e.tar.gz
android_bootable_recovery-42c12306c90e9ac467262f838dba30a5ff81957e.tar.bz2
android_bootable_recovery-42c12306c90e9ac467262f838dba30a5ff81957e.tar.lz
android_bootable_recovery-42c12306c90e9ac467262f838dba30a5ff81957e.tar.xz
android_bootable_recovery-42c12306c90e9ac467262f838dba30a5ff81957e.tar.zst
android_bootable_recovery-42c12306c90e9ac467262f838dba30a5ff81957e.zip
Diffstat (limited to 'device.h')
-rw-r--r--device.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/device.h b/device.h
index 8ff4ec031..02f956489 100644
--- a/device.h
+++ b/device.h
@@ -34,16 +34,6 @@ class Device {
// before anything else).
virtual void StartRecovery() { };
- // enum KeyAction { NONE, TOGGLE, REBOOT };
-
- // // Called in the input thread when a new key (key_code) is
- // // pressed. *key_pressed is an array of KEY_MAX+1 bytes
- // // indicating which other keys are already pressed. Return a
- // // KeyAction to indicate action should be taken immediately.
- // // These actions happen when recovery is not waiting for input
- // // (eg, in the midst of installing a package).
- // virtual KeyAction CheckImmediateKeyAction(volatile char* key_pressed, int key_code) = 0;
-
// Called from the main thread when recovery is at the main menu
// and waiting for input, and a key is pressed. (Note that "at"
// the main menu does not necessarily mean the menu is visible;