diff options
author | Jeff Sharkey <jsharkey@android.com> | 2015-10-29 19:00:44 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2015-10-29 19:04:15 -0700 |
commit | e2ed23e6b221185ce2587fb19a6e904dbf7ec77b (patch) | |
tree | 720fb5c716065a4d5a4e6754eac2d3edc00fb9fa /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c3cd7b1585e7ca2b3b1c9ea2ea7a9971c4b0be01 (diff) |
Handle "uninstalled" apps when pruning app-ops.
During system boot, we prune app-ops belonging to apps that have
been uninstalled. However, apps installed on adopted storage devices
haven't been scanned at this point, so they appear to be uninstalled.
To avoid pruning app-ops for these apps, we need a getPackageUid()
variant that also considers "uninstalled" apps for which we still
have PackageSetting values.
Bug: 25206071
Change-Id: I1820f674d45c5ddc1c5f10ed7d859e7025005e28
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions