summaryrefslogtreecommitdiffstats
path: root/recovery_ui
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-20 00:22:15 +0200
committerTao Bao <tbao@google.com>2019-04-26 21:25:02 +0200
commit7b9b7db877f082a9adaa8b8a8572940cb5720a11 (patch)
treec2ae03dbad729d44022c379bcc6ce429b2c93b27 /recovery_ui
parentAdd test for minadbd (diff)
downloadandroid_bootable_recovery-7b9b7db877f082a9adaa8b8a8572940cb5720a11.tar
android_bootable_recovery-7b9b7db877f082a9adaa8b8a8572940cb5720a11.tar.gz
android_bootable_recovery-7b9b7db877f082a9adaa8b8a8572940cb5720a11.tar.bz2
android_bootable_recovery-7b9b7db877f082a9adaa8b8a8572940cb5720a11.tar.lz
android_bootable_recovery-7b9b7db877f082a9adaa8b8a8572940cb5720a11.tar.xz
android_bootable_recovery-7b9b7db877f082a9adaa8b8a8572940cb5720a11.tar.zst
android_bootable_recovery-7b9b7db877f082a9adaa8b8a8572940cb5720a11.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);