summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 23:10:39 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-09 23:10:39 +0200
commit0c23c97c78211bc98c3dadd7f613e764e183a0ea (patch)
tree377eb017c7f7ea200040b88981db97e9e8292b5a
parentam 52222a58: Merge "Move file paging into ScreenRecoveryUI." (diff)
parentMerge "Remove some commented-out code." (diff)
downloadandroid_bootable_recovery-0c23c97c78211bc98c3dadd7f613e764e183a0ea.tar
android_bootable_recovery-0c23c97c78211bc98c3dadd7f613e764e183a0ea.tar.gz
android_bootable_recovery-0c23c97c78211bc98c3dadd7f613e764e183a0ea.tar.bz2
android_bootable_recovery-0c23c97c78211bc98c3dadd7f613e764e183a0ea.tar.lz
android_bootable_recovery-0c23c97c78211bc98c3dadd7f613e764e183a0ea.tar.xz
android_bootable_recovery-0c23c97c78211bc98c3dadd7f613e764e183a0ea.tar.zst
android_bootable_recovery-0c23c97c78211bc98c3dadd7f613e764e183a0ea.zip
-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;