Permission Check For DPM.getPermittedAccessibilityServices
Bug: 128599660 Test: com.android.server.devicepolicy.DevicePolicyManagerTest Test: com.google.android.gts.devicepolicy.DeviceOwnerTest Change-Id: I8be915bd6a4ff99884d23005a4c6f0100806dbe8 Merged-In: I8ee3f876fcaffa63636645f0f59709cd147254ef
This commit is contained in:
@@ -6868,6 +6868,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
|||||||
if (!mHasFeature) {
|
if (!mHasFeature) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
enforceManageUsers();
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
List<String> result = null;
|
List<String> result = null;
|
||||||
// If we have multiple profiles we return the intersection of the
|
// If we have multiple profiles we return the intersection of the
|
||||||
|
|||||||
Reference in New Issue
Block a user