summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTodd Kennedy <toddke@google.com>2019-05-22 08:54:58 -0700
committerTodd Kennedy <toddke@google.com>2019-05-22 09:28:37 -0700
commit19a569ab3d060610a9d252e23f12dc8e30195521 (patch)
treeaefed2d3c83d12342b30af83dfe253fd16b695f8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent152cc76bc07ecf2d8eea148b0a19d677f2624566 (diff)
Ensure packages in shared user are valid
Package information is tracked by several different structures and updated in different synchronized blocks. As such, the set of packages that are part of a shared user are updated after the set of installed packages is updated. And, in some cases, a removed package will still be listed as a member of a shared user id. Before passing a package to the PermissionManager to check for permission grants, ensure the package actually exists and is known to the system. Bug: 111075456 Test: Manual. Builds and runs. Change-Id: Ibb4f44f50141d43bf2367747d6d5813648d42fd4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions