summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2019-03-26 14:35:58 +0000
committerAnton Hansson <hansson@google.com>2019-03-26 19:49:05 +0000
commite870d0220f6195f5dc4eb0c08dd1f5375b69ee15 (patch)
tree07a0cb37b53b06f5ab3daa487d5f507533e41fa1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2384444f7523ca1e5f6e238cee624b966c7d28da (diff)
Revoke all relevant shared permission on uninstall
The for-loop over the uninstalled app's permissions would previously return immediately after successfully revoking a shared permission, preventing the loop to run to the end. Instead, always loop through all the permission and return the "widest" matching user id. Bug: 36899497 Test: manual, using provided test apks Test: atest CtsPermissionTestCases:SharedUidPermissionsTest Change-Id: I1f8fad77123c8affa2d825bce1edc2bcd8f60f12
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions