summaryrefslogtreecommitdiffstats
path: root/install.h
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-09-13 02:48:42 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-09-13 02:48:42 +0200
commit16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa (patch)
treea89715473b29f44bc5a26c23bcc5dfc1b7907b87 /install.h
parentMerge "minui: Track the name change to minui related properties." (diff)
parentAllow switch to fastbootd when userdata wipe is required (diff)
downloadandroid_bootable_recovery-16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa.tar
android_bootable_recovery-16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa.tar.gz
android_bootable_recovery-16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa.tar.bz2
android_bootable_recovery-16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa.tar.lz
android_bootable_recovery-16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa.tar.xz
android_bootable_recovery-16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa.tar.zst
android_bootable_recovery-16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa.zip
Diffstat (limited to 'install.h')
-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.