summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 23:02:20 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-09 23:02:22 +0200
commit06522ef517196062299852d59593eba0ea2be3c0 (patch)
tree377eb017c7f7ea200040b88981db97e9e8292b5a
parentMerge "Move file paging into ScreenRecoveryUI." (diff)
parentRemove some commented-out code. (diff)
downloadandroid_bootable_recovery-06522ef517196062299852d59593eba0ea2be3c0.tar
android_bootable_recovery-06522ef517196062299852d59593eba0ea2be3c0.tar.gz
android_bootable_recovery-06522ef517196062299852d59593eba0ea2be3c0.tar.bz2
android_bootable_recovery-06522ef517196062299852d59593eba0ea2be3c0.tar.lz
android_bootable_recovery-06522ef517196062299852d59593eba0ea2be3c0.tar.xz
android_bootable_recovery-06522ef517196062299852d59593eba0ea2be3c0.tar.zst
android_bootable_recovery-06522ef517196062299852d59593eba0ea2be3c0.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;