diff options
author | Doug Zongker <dougz@android.com> | 2014-04-01 13:20:23 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2014-04-01 13:20:23 -0700 |
commit | 8d9d3d5cbe240d09db10d08956d152dce934e892 (patch) | |
tree | e0bb35703cb670a2fc9d697927528314008348ee /device.h | |
parent | 02abde50851f66196c74d215150014f1378cb853 (diff) | |
download | bootable_recovery-8d9d3d5cbe240d09db10d08956d152dce934e892.tar.gz bootable_recovery-8d9d3d5cbe240d09db10d08956d152dce934e892.tar.bz2 bootable_recovery-8d9d3d5cbe240d09db10d08956d152dce934e892.zip |
add reboot-to-bootloader and power down options to recovery menu
Useful when debugging or developing for recovery.
Change-Id: Ic3ab42d5e848ad3488f1c575339b55e45c8a024b
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -66,7 +66,8 @@ class Device { virtual int HandleMenuKey(int key, int visible) = 0; enum BuiltinAction { NO_ACTION, REBOOT, APPLY_EXT, APPLY_CACHE, - APPLY_ADB_SIDELOAD, WIPE_DATA, WIPE_CACHE }; + APPLY_ADB_SIDELOAD, WIPE_DATA, WIPE_CACHE, + REBOOT_BOOTLOADER, SHUTDOWN }; // Perform a recovery action selected from the menu. // 'menu_position' will be the item number of the selected menu |