Skip to content
Commit 21a2838e authored by Narayan Kamath's avatar Narayan Kamath
Browse files

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
20274d15.

Test: Manual
Change-Id: I7b5b71ac60d8c438398c354be50b207e80550148
parent ab979869
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment