diff options
author | Koushik Dutta <koushd@gmail.com> | 2012-07-15 15:30:43 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2012-07-15 15:30:43 -0700 |
commit | 214cc5d092ba8a4d17cc4e9ad4a351c408e2b393 (patch) | |
tree | 43ceb943b683dc9810ac336b795b76b35868bb72 /install.c | |
parent | 05b41c988b704913045aa776ee64298400e72c83 (diff) | |
download | bootable_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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } } |