diff options
author | Song Pan <songpan@google.com> | 2020-02-28 18:28:06 +0000 |
---|---|---|
committer | Song Pan <songpan@google.com> | 2020-03-02 15:56:35 +0000 |
commit | 0f72bc39849bcb2ff1cdca5494e3c00edac0f654 (patch) | |
tree | 9eb8a225911d47de7ae888dcd5240ca4283830ac /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions