summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2020-04-09 16:31:05 -0700
committerPhilip P. Moltmann <moltmann@google.com>2020-04-15 23:45:10 +0000
commitb093a01a4a3f19b329b19def03df94273188ec95 (patch)
tree8e2c70bfb88e7e86fb5ddd24e9ef97cc9414078b /tools/aapt2/java/JavaClassGenerator.cpp
parent232ffbfe8fbe3ced3a188f7b364d311f937ddba2 (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 Fixes: 152436092 Change-Id: Ie6fe90b5737a1cd24e45446ea91560940b41c8fc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions