commit | 9c648bdc359af7600675f85367e22f3d47998694 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Thu Oct 29 19:00:44 2015 -0700 |
committer | The Android Automerger <android-build@google.com> | Mon Nov 02 13:21:06 2015 -0800 |
tree | f286623279eca4e69d85c2677476541ee8549650 | |
parent | 52e3639cb4bf84d637bf3fae88a4197e71829d51 [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