diff options
author | Steve Kondik <shade@chemlab.org> | 2012-11-06 17:32:31 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.cyanogenmod.com> | 2012-11-06 17:32:31 -0800 |
commit | 8929c1ef3b2434c37cf540e30bbd52237532c65b (patch) | |
tree | b579fc7131641b8cdbca30cd76edd86fb52de77f /extendedcommands.c | |
parent | 2b622032210bf1c513802b235c14a18d31cdb69a (diff) | |
download | bootable_recovery-8929c1ef3b2434c37cf540e30bbd52237532c65b.zip bootable_recovery-8929c1ef3b2434c37cf540e30bbd52237532c65b.tar.gz bootable_recovery-8929c1ef3b2434c37cf540e30bbd52237532c65b.tar.bz2 |
Revert "move "install zip from sideload" to installation submenu"
This reverts commit 2b622032210bf1c513802b235c14a18d31cdb69a
Diffstat (limited to 'extendedcommands.c')
-rw-r--r-- | extendedcommands.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/extendedcommands.c b/extendedcommands.c index dbf86db..c9c37a3 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -41,7 +41,6 @@ #include "bmlutils/bmlutils.h" #include "cutils/android_reboot.h" -#include "adb_install.h" int signature_check_enabled = 1; int script_assert_enabled = 1; @@ -112,20 +111,18 @@ int install_zip(const char* packagefilepath) #define ITEM_CHOOSE_ZIP 0 #define ITEM_APPLY_SDCARD 1 -#define ITEM_APPLY_SIDELOAD 2 -#define ITEM_SIG_CHECK 3 -#define ITEM_CHOOSE_ZIP_INT 4 +#define ITEM_SIG_CHECK 2 +#define ITEM_CHOOSE_ZIP_INT 3 void show_install_update_menu() { - static char* headers[] = { "Apply update from .zip file", + static char* headers[] = { "Apply update from .zip file on SD card", "", NULL }; char* install_menu_items[] = { "choose zip from sdcard", "apply /sdcard/update.zip", - "install zip from sideload", "toggle signature verification", NULL, NULL }; @@ -157,9 +154,6 @@ void show_install_update_menu() case ITEM_CHOOSE_ZIP: show_choose_zip_menu("/sdcard/"); break; - case ITEM_APPLY_SIDELOAD: - apply_from_adb(); - break; case ITEM_CHOOSE_ZIP_INT: if (other_sd != NULL) show_choose_zip_menu(other_sd); |