summaryrefslogtreecommitdiffstats
path: root/recovery_ui
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-20 00:22:15 +0200
committerxunchang <xunchang@google.com>2019-04-24 08:50:12 +0200
commit10f441a9dbb91be3124f455439631abcf8e96cde (patch)
tree0ec415f456c6cd2812cd59a52f1261e5f4e1ca49 /recovery_ui
parentMerge "Add test for minadbd" (diff)
downloadandroid_bootable_recovery-10f441a9dbb91be3124f455439631abcf8e96cde.tar
android_bootable_recovery-10f441a9dbb91be3124f455439631abcf8e96cde.tar.gz
android_bootable_recovery-10f441a9dbb91be3124f455439631abcf8e96cde.tar.bz2
android_bootable_recovery-10f441a9dbb91be3124f455439631abcf8e96cde.tar.lz
android_bootable_recovery-10f441a9dbb91be3124f455439631abcf8e96cde.tar.xz
android_bootable_recovery-10f441a9dbb91be3124f455439631abcf8e96cde.tar.zst
android_bootable_recovery-10f441a9dbb91be3124f455439631abcf8e96cde.zip
Diffstat (limited to 'recovery_ui')
-rw-r--r--recovery_ui/include/recovery_ui/device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/recovery_ui/include/recovery_ui/device.h b/recovery_ui/include/recovery_ui/device.h
index 8f17639d6..09b5d1f4d 100644
--- a/recovery_ui/include/recovery_ui/device.h
+++ b/recovery_ui/include/recovery_ui/device.h
@@ -50,7 +50,11 @@ class Device {
KEY_INTERRUPTED = 13,
ENTER_FASTBOOT = 14,
ENTER_RECOVERY = 15,
+ // ENTER vs REBOOT: The latter will trigger a reboot that uses `rescue` as the reboot target.
+ // So it goes from rescue -> bootloader -> rescue, whereas ENTER_RESCUE switches from recovery
+ // -> rescue directly.
ENTER_RESCUE = 16,
+ REBOOT_RESCUE = 17,
};
explicit Device(RecoveryUI* ui);