diff options
author | Tom Marshall <tdm@cyngn.com> | 2015-11-06 10:19:13 -0800 |
---|---|---|
committer | Tom Marshall <tdm@cyngn.com> | 2015-11-25 15:34:35 -0800 |
commit | e1ba5bc721daf65598feb2b5c46d1c06fac63ec4 (patch) | |
tree | 4ed3fec9743008ac96b2f71de075c51a18cae247 /device.h | |
parent | 40b9e54a3c05111a64159645170f67a9153dbcd5 (diff) | |
download | bootable_recovery-e1ba5bc721daf65598feb2b5c46d1c06fac63ec4.tar.gz bootable_recovery-e1ba5bc721daf65598feb2b5c46d1c06fac63ec4.tar.bz2 bootable_recovery-e1ba5bc721daf65598feb2b5c46d1c06fac63ec4.zip |
recovery: datamedia support
Change-Id: I4cef82973a15111bee92cd7c81f0e1db8d211991
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -64,10 +64,11 @@ class Device : public VoldWatcher { // APPLY_ADB_SIDELOAD was 4. WIPE_DATA = 5, WIPE_CACHE = 6, - REBOOT_BOOTLOADER = 7, - SHUTDOWN = 8, - VIEW_RECOVERY_LOGS = 9, - MOUNT_SYSTEM = 10, + WIPE_MEDIA = 7, + REBOOT_BOOTLOADER = 8, + SHUTDOWN = 9, + VIEW_RECOVERY_LOGS = 10, + MOUNT_SYSTEM = 11, }; // Return the list of menu items (an array of strings, @@ -104,6 +105,9 @@ class Device : public VoldWatcher { virtual bool PreWipeData() { return true; } virtual bool PostWipeData() { return true; } + virtual bool PreWipeMedia() { return true; } + virtual bool PostWipeMedia() { return true; } + // Called before reboot virtual char const* GetRebootReason() { return ""; } |