diff options
author | Zimuzo <zezeozue@google.com> | 2018-08-29 10:47:51 +0100 |
---|---|---|
committer | Zimuzo <zezeozue@google.com> | 2019-01-16 14:35:57 +0000 |
commit | 8236d331beb992886949a6a1dc90fc3ae40ad99f (patch) | |
tree | 98c0702553e2ff0282d92a95e7b18496e134a439 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | be749520c548cb7524aa302b21a30bb41504e36d (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