diff options
author | Songchun Fan <schfan@google.com> | 2021-04-05 19:59:28 +0000 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2021-04-09 13:21:32 -0700 |
commit | 25728b15e487b01963f11d425d38d2e2f8e63b06 (patch) | |
tree | 1cd85c5be3c527e75e3626955c84eebab2979281 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f7923a9cc21746895ac459241e724b0da0339380 (diff) |
[SettingsProvider] remove in-lock calls to PackageManager.getPackageUid()
Cache a list of package names of system packages, so we don't have to
check with package manager everytime if a package is system package or
not. This removes the deadlock between SettingsProvider and
PackageManagerService caused by getPackageUid().
BUG: 183007597
Test: run "atest NeneTest" and see there is no deadlock caused by
SettingsProvider
Change-Id: Ia98d47f12d218a7b98ef9003b786ba60e9212e20
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions