Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fd13eef authored by Eran Messeri's avatar Eran Messeri
Browse files

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
parent b5e7bbe5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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