aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 21:31:50 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-09 21:31:50 +0000
commit061fe46c092f4a996b260b03a5c1511e7e603cef (patch)
tree377eb017c7f7ea200040b88981db97e9e8292b5a
parent9e225cb8032efefec4dce6de2dd91fa6e3658346 (diff)
parent0c23c97c78211bc98c3dadd7f613e764e183a0ea (diff)
downloadbootable_recovery-061fe46c092f4a996b260b03a5c1511e7e603cef.zip
bootable_recovery-061fe46c092f4a996b260b03a5c1511e7e603cef.tar.gz
bootable_recovery-061fe46c092f4a996b260b03a5c1511e7e603cef.tar.bz2
am 0c23c97c: am 06522ef5: Merge "Remove some commented-out code."
* commit '0c23c97c78211bc98c3dadd7f613e764e183a0ea': Remove some commented-out code.
-rw-r--r--device.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/device.h b/device.h
index 8ff4ec0..02f9564 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;