summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2020-04-09 16:39:13 -0700
committerPhilip P. Moltmann <moltmann@google.com>2020-04-15 23:44:41 +0000
commit128b9106ade8386ff3b51661e56cc6f12b7804e8 (patch)
tree5f364ca0b68f92edf44030e2c4d0179feac21f42 /tools/aapt2/java/JavaClassGenerator.cpp
parentf02ac9e4390b8198450385e6d6374f23c2619dc7 (diff)
Allow non-system server code to AppOpsManager.checkOp and NoteOp
1. Allow checkOp from any caller, not only callers with android.permission.UPDATE_APP_OPS_STATS. This is ok as checkOp does not update any stats 2. Clear the binder identity when calling noteOp so that it is checked if the service can perform the operation, not the caller. Test: Verified that RecognitionService can be used by third party apps Bug: 152436092 Merged-In: Ie6fe90b5737a1cd24e45446ea91560940b41c8fc Change-Id: Icfd46548b1c23b499b712ad795eab0c417b8586f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions