summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2017-01-13 10:34:29 +0000
committerNarayan Kamath <narayan@google.com>2017-01-13 16:09:05 +0000
commit21a2838e3474c7b7918ca638be70aa1c27649117 (patch)
treeb20347cc0945daf9d9b17ba838cd736fb7b41846 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentab97986977273c33fdac4c2e0ac4a28ab2f91a1a (diff)
PackageParser: Disable package cache on "eng" builds.
- Catch a wider variety of exceptions from the package parse stage. Ignore and delete the cache entry if we catch *any* exceptions from deserializing the parse result. - Rename the system property pm.boot and not ro.boot, since the former needs less effort to change back and forth. - Finally, add a heuristic to wipe caches on non-numbered userdebug builds when changes to the system partition are detected. Also re-enable the cache by reverting commit 20274d15d8f40112dd13d01980c210b49f78cda9. Test: Manual Change-Id: I7b5b71ac60d8c438398c354be50b207e80550148
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions