diff options
author | Tao Bao <tbao@google.com> | 2017-04-18 05:20:48 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-04-18 05:20:49 +0200 |
commit | c1ca21a32d4cfdda773bad1c5da1657e4936b751 (patch) | |
tree | 9a3efa486d5aa4f83ebd2a19cace9eb85eba07be /install.h | |
parent | Merge "libmounts: Remove two dead functions." (diff) | |
parent | Add the missing LOCAL_CFLAGS for librecovery. (diff) | |
download | android_bootable_recovery-c1ca21a32d4cfdda773bad1c5da1657e4936b751.tar android_bootable_recovery-c1ca21a32d4cfdda773bad1c5da1657e4936b751.tar.gz android_bootable_recovery-c1ca21a32d4cfdda773bad1c5da1657e4936b751.tar.bz2 android_bootable_recovery-c1ca21a32d4cfdda773bad1c5da1657e4936b751.tar.lz android_bootable_recovery-c1ca21a32d4cfdda773bad1c5da1657e4936b751.tar.xz android_bootable_recovery-c1ca21a32d4cfdda773bad1c5da1657e4936b751.tar.zst android_bootable_recovery-c1ca21a32d4cfdda773bad1c5da1657e4936b751.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_ |