commit | 0f72bc39849bcb2ff1cdca5494e3c00edac0f654 | [log] [tgz] |
---|---|---|
author | Song Pan <songpan@google.com> | Fri Feb 28 18:28:06 2020 +0000 |
committer | Song Pan <songpan@google.com> | Mon Mar 02 15:56:35 2020 +0000 |
tree | 9eb8a225911d47de7ae888dcd5240ca4283830ac | |
parent | a38ba93e264600c6b2485c5260b28a6f6fc744fd [diff] |
Fix some bugs for robustness. 1. Catch all exceptions when we are trying to read an APK to find the base apk. We noticed in some error cases, package parser will throw an exception instead of returning null. We should continue inspecting other apks. 2. Make invalid apk default to allow. Bug: 145674131 Test: atest AppIntegrityMangaerServiceImpl Change-Id: I11f2b7bad84c3ee697e01da68f901935db0c4f44