diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-04-27 11:33:14 +0200 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-04-27 11:33:14 +0200 |
commit | 754b0a019786fc96db38fea77f844c9d45e14546 (patch) | |
tree | 8d1ed2df09d4cd0594c5a0297987b5fdff062098 /install.h | |
parent | Snap for 4740273 from 766a4103888803454d3aa5f8de08df990b6f8fa0 to qt-release (diff) | |
parent | Merge "updater_sample: fix gen_update_config.py" am: 2573b6fa1c am: 811baa37d3 (diff) | |
download | android_bootable_recovery-754b0a019786fc96db38fea77f844c9d45e14546.tar android_bootable_recovery-754b0a019786fc96db38fea77f844c9d45e14546.tar.gz android_bootable_recovery-754b0a019786fc96db38fea77f844c9d45e14546.tar.bz2 android_bootable_recovery-754b0a019786fc96db38fea77f844c9d45e14546.tar.lz android_bootable_recovery-754b0a019786fc96db38fea77f844c9d45e14546.tar.xz android_bootable_recovery-754b0a019786fc96db38fea77f844c9d45e14546.tar.zst android_bootable_recovery-754b0a019786fc96db38fea77f844c9d45e14546.zip |
Diffstat (limited to 'install.h')
-rw-r--r-- | install.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -17,7 +17,10 @@ #ifndef RECOVERY_INSTALL_H_ #define RECOVERY_INSTALL_H_ +#include <stddef.h> + #include <string> + #include <ziparchive/zip_archive.h> enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED, @@ -25,8 +28,8 @@ enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SK // Installs the given update package. If INSTALL_SUCCESS is returned and *wipe_cache is true on // exit, caller should wipe the cache partition. -int install_package(const std::string& package, bool* wipe_cache, const std::string& install_file, - bool needs_mount, int retry_count); +int install_package(const std::string& package, bool* wipe_cache, bool needs_mount, + int retry_count); // Verify the package by ota keys. Return true if the package is verified successfully, // otherwise return false. |