diff options
author | Hridya Valsaraju <hridya@google.com> | 2018-09-12 19:25:01 +0200 |
---|---|---|
committer | Hridya Valsaraju <hridya@google.com> | 2018-09-12 23:16:07 +0200 |
commit | eb6f13aeb68368c0d0776173d63a29cf36fb17e8 (patch) | |
tree | 3d1c581e3e25d0e39d60ae7faa68af2768e7d284 /install.h | |
parent | Merge "support mounting f2fs in recovery mode" (diff) | |
download | android_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 'install.h')
-rw-r--r-- | install.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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. |