summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2020-02-13 15:19:54 -0800
committerHai Zhang <zhanghai@google.com>2020-02-13 15:26:35 -0800
commit8846aaac9a4a1db819747f2eb24592e88d1d62b1 (patch)
tree0e090c86fc8689d286145174d715e3f98296f4f2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8eb3cbe1bae057d356be4e4da0b38965d32bd2c8 (diff)
Don't mutate permission state when setting app op from PermissionPolicyService.
Previously the REVOKED_COMPAT flag may be updated when PermissionPolicyService is setting app op mode, however it should not do so because the app op mode is coming right from the permission state it was seeing. Mutating permission state would lead to incorrect permission state when PermissionPolicyService and PermissionController are running concurrently, and by no longer mutating permission state in PermissionPolicyService, the app op state will eventually arrive at the correct state even when there's some concurrency. Bug: 149267332 Bug: 136503238 Test: manual Change-Id: I9b02bc3f42a20ba441d5af9fd1b8a9729d8d0480
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions