summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sony.com>2017-11-16 13:07:30 +0100
committerTodd Kennedy <toddke@google.com>2018-05-08 16:13:42 -0700
commitf28bec4150dc3c4e85c5991f2ea97cc3b2419032 (patch)
treef08ad7e12243139b7a9189d547a41d55498d9bd3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3e9331125af5a71d9a22df453558284e976d7a29 (diff)
OMS: harden permission checks
The IOverlayManager.aidl interface is protected by certain permissions. The overlay manager implements the permission checks by calling enforceCallingOrSelfPermission, but this method needlessly includes the permissions of system_server in the check. Harden the permission checks by switching from enforceCallingOrSelfPermission to enforceCallingPermission. Bug: 78809702 Test: atest OverlayHostTests OverlayDeviceTests Change-Id: I5851dd1683adf644ea8e5a58dce4d7377664342e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions