summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorZimuzo <zezeozue@google.com>2018-08-29 10:47:51 +0100
committerZimuzo <zezeozue@google.com>2019-01-16 14:35:57 +0000
commit8236d331beb992886949a6a1dc90fc3ae40ad99f (patch)
tree98c0702553e2ff0282d92a95e7b18496e134a439 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentbe749520c548cb7524aa302b21a30bb41504e36d (diff)
Restrict MANAGE_DEVICE_ADMIN permissions to signature
We want to prevent privileged apps from calling DevicePolicyManager#setActiveAdmin. After this, only apps signed with the platform certificate (e.g Settings / ManagedProvisioning) will be allowed to set Device Admins. Leave @SystemApi so that it is clear that it 'was' a privileged permission, but add @removed to show that it is no longer a privileged permission. Bug: 111153365 Test: atest PermissionsHostTest && atest CtsAdminTestCases Change-Id: I688e87cf09ad206f4f517a7be960c2aa01af8fc4
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions