summaryrefslogtreecommitdiffstats
path: root/install.h
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2018-09-12 19:25:01 +0200
committerHridya Valsaraju <hridya@google.com>2018-09-12 23:16:07 +0200
commiteb6f13aeb68368c0d0776173d63a29cf36fb17e8 (patch)
tree3d1c581e3e25d0e39d60ae7faa68af2768e7d284 /install.h
parentMerge "support mounting f2fs in recovery mode" (diff)
downloadandroid_bootable_recovery-eb6f13aeb68368c0d0776173d63a29cf36fb17e8.tar
android_bootable_recovery-eb6f13aeb68368c0d0776173d63a29cf36fb17e8.tar.gz
android_bootable_recovery-eb6f13aeb68368c0d0776173d63a29cf36fb17e8.tar.bz2
android_bootable_recovery-eb6f13aeb68368c0d0776173d63a29cf36fb17e8.tar.lz
android_bootable_recovery-eb6f13aeb68368c0d0776173d63a29cf36fb17e8.tar.xz
android_bootable_recovery-eb6f13aeb68368c0d0776173d63a29cf36fb17e8.tar.zst
android_bootable_recovery-eb6f13aeb68368c0d0776173d63a29cf36fb17e8.zip
Diffstat (limited to '')
-rw-r--r--install.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/install.h b/install.h
index 0f6670a35..1d3d0cd27 100644
--- a/install.h
+++ b/install.h
@@ -23,8 +23,15 @@
#include <ziparchive/zip_archive.h>
-enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED,
- INSTALL_RETRY };
+enum InstallResult {
+ INSTALL_SUCCESS,
+ INSTALL_ERROR,
+ INSTALL_CORRUPT,
+ INSTALL_NONE,
+ INSTALL_SKIPPED,
+ INSTALL_RETRY,
+ INSTALL_KEY_INTERRUPTED
+};
// Installs the given update package. If INSTALL_SUCCESS is returned and *wipe_cache is true on
// exit, caller should wipe the cache partition.