diff options
author | Tao Bao <tbao@google.com> | 2017-04-13 02:26:50 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-13 02:26:50 +0200 |
commit | a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f (patch) | |
tree | 5c42bc852e234138ebbe41b246f397e0d4d4b822 /install.h | |
parent | Merge "Protect filename_cache with lock in ota fault" am: 1b28a27c33 am: 461188865b am: 41bdd91780 (diff) | |
parent | Verify the package compatibility with libvintf. (diff) | |
download | android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.gz android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.bz2 android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.lz android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.xz android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.tar.zst android_bootable_recovery-a6004b6dcbcda7ed7dc7f490623a4e5c909a7e1f.zip |
Diffstat (limited to 'install.h')
-rw-r--r-- | install.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,4 +37,8 @@ bool verify_package(const unsigned char* package_data, size_t package_size); // Return true if succeed, otherwise return false. bool read_metadata_from_package(ZipArchiveHandle zip, std::string* meta_data); +// Verifes the compatibility info in a Treble-compatible package. Returns true directly if the +// entry doesn't exist. +bool verify_package_compatibility(ZipArchiveHandle package_zip); + #endif // RECOVERY_INSTALL_H_ |