aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker2014-07-08 16:10:23 -0500
committerDoug Zongker2014-07-08 16:10:23 -0500
commit93950229cf9a991589f6bb071a966b00349d18d6 (patch)
treeeec365a85750de0ac8c9f73c0be301d099c4688f /device.h
parent075ad800c539503d0515e5e0b4af160eccedead9 (diff)
downloadplatform-bootable-recovery-93950229cf9a991589f6bb071a966b00349d18d6.tar.gz
platform-bootable-recovery-93950229cf9a991589f6bb071a966b00349d18d6.tar.xz
platform-bootable-recovery-93950229cf9a991589f6bb071a966b00349d18d6.zip
drop APPLY_CACHE and refactor APPLY_EXT
Drop support for sideloading OTA packages of the cache partition (a half-solution that's long since been deprecated by "adb sideload"). Refactor the code to sideload OTA packages from SD cards: remove the installation code from the file browser. Change-Id: Id0dff6b27c4a5837546f174f50e2e1d0379c43db
Diffstat (limited to 'device.h')
-rw-r--r--device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.h b/device.h
index df71377c..57ec3fc3 100644
--- a/device.h
+++ b/device.h
@@ -65,7 +65,8 @@ class Device {
65 // - invoke a specific action (a menu position: any non-negative number) 65 // - invoke a specific action (a menu position: any non-negative number)
66 virtual int HandleMenuKey(int key, int visible) = 0; 66 virtual int HandleMenuKey(int key, int visible) = 0;
67 67
68 enum BuiltinAction { NO_ACTION, REBOOT, APPLY_EXT, APPLY_CACHE, 68 enum BuiltinAction { NO_ACTION, REBOOT, APPLY_EXT,
69 APPLY_CACHE, // APPLY_CACHE is deprecated; has no effect
69 APPLY_ADB_SIDELOAD, WIPE_DATA, WIPE_CACHE, 70 APPLY_ADB_SIDELOAD, WIPE_DATA, WIPE_CACHE,
70 REBOOT_BOOTLOADER, SHUTDOWN }; 71 REBOOT_BOOTLOADER, SHUTDOWN };
71 72