diff options
author | Tao Bao <tbao@google.com> | 2017-04-18 05:31:40 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-18 05:31:40 +0200 |
commit | 35849591a0e351d76c6efd98152440226041ce96 (patch) | |
tree | 52a6ad33ce121acbf76750c30ef31b1007d0d331 /install.h | |
parent | Merge "libmounts: Remove two dead functions." am: 4854e77fd2 (diff) | |
parent | Merge changes from topic 'libvintf' (diff) | |
download | android_bootable_recovery-35849591a0e351d76c6efd98152440226041ce96.tar android_bootable_recovery-35849591a0e351d76c6efd98152440226041ce96.tar.gz android_bootable_recovery-35849591a0e351d76c6efd98152440226041ce96.tar.bz2 android_bootable_recovery-35849591a0e351d76c6efd98152440226041ce96.tar.lz android_bootable_recovery-35849591a0e351d76c6efd98152440226041ce96.tar.xz android_bootable_recovery-35849591a0e351d76c6efd98152440226041ce96.tar.zst android_bootable_recovery-35849591a0e351d76c6efd98152440226041ce96.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_ |