aboutsummaryrefslogtreecommitdiffstats
path: root/install.c
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2012-07-15 15:30:43 -0700
committerKoushik Dutta <koushd@gmail.com>2012-07-15 15:30:43 -0700
commit214cc5d092ba8a4d17cc4e9ad4a351c408e2b393 (patch)
tree43ceb943b683dc9810ac336b795b76b35868bb72 /install.c
parent05b41c988b704913045aa776ee64298400e72c83 (diff)
downloadbootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.zip
bootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.tar.gz
bootable_recovery-214cc5d092ba8a4d17cc4e9ad4a351c408e2b393.tar.bz2
forward port CWM to jellybean
Change-Id: Ibd66afe03c9a2c183e4c7db35fe34adf0f5e24ff
Diffstat (limited to 'install.c')
-rw-r--r--install.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/install.c b/install.c
index 711f849..5b76bd9 100644
--- a/install.c
+++ b/install.c
@@ -371,7 +371,9 @@ really_install_package(const char *path)
LOGI("verify_file returned %d\n", err);
if (err != VERIFY_SUCCESS) {
LOGE("signature verification failed\n");
- return INSTALL_CORRUPT;
+ ui_show_text(1);
+ if (!confirm_selection("Install Untrusted Package?", "Yes - Install untrusted zip"))
+ return INSTALL_CORRUPT;
}
}