summaryrefslogtreecommitdiffstats
path: root/install.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-09-13 05:10:13 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-09-13 05:10:13 +0200
commit0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce (patch)
treea89715473b29f44bc5a26c23bcc5dfc1b7907b87 /install.h
parentSnap for 5004953 from 466f59f7c127a4d12cc90ee234f53cc1522e2402 to qt-release (diff)
parentMerge "Allow switch to fastbootd when userdata wipe is required" am: 16147d1bd6 am: 20b29bbbbd (diff)
downloadandroid_bootable_recovery-0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce.tar
android_bootable_recovery-0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce.tar.gz
android_bootable_recovery-0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce.tar.bz2
android_bootable_recovery-0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce.tar.lz
android_bootable_recovery-0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce.tar.xz
android_bootable_recovery-0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce.tar.zst
android_bootable_recovery-0f2d5ce7ca3d40059200f2d8202c0a1c0a9a1dce.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.