Zimuzo 8236d331be 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
2019-01-16 14:35:57 +00:00
2019-01-16 12:19:20 +09:00
2019-01-09 06:57:13 +00:00
2018-10-24 09:25:55 -06:00
2019-01-14 19:50:48 -05:00
2018-08-02 14:46:03 +01:00
2019-01-16 12:19:20 +09:00
2018-12-05 16:31:53 +00:00
2019-01-07 14:16:56 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%