diff options
author | MÃ¥rten Kongstad <marten.kongstad@sony.com> | 2017-11-16 13:07:30 +0100 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2018-05-08 16:13:42 -0700 |
commit | f28bec4150dc3c4e85c5991f2ea97cc3b2419032 (patch) | |
tree | f08ad7e12243139b7a9189d547a41d55498d9bd3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3e9331125af5a71d9a22df453558284e976d7a29 (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