summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid Build Merger (Role) <noreply-android-build-merger@google.com>2019-03-26 10:13:29 (GMT)
committerAndroid Build Merger (Role) <noreply-android-build-merger@google.com>2019-03-26 10:13:29 (GMT)
commit5d66886b4cd0c8df79ec59984a596e834da9d325 (patch)
treeef474a0af76bea7938d020178c723915be46b8b7
parent1c348395f520ac94e5c7b115b0f135a9ab33d3a0 (diff)
parent39eef269bee8d4274d207704909adbe21eda278a (diff)
downloadframeworks_base-5d66886b4cd0c8df79ec59984a596e834da9d325.zip
frameworks_base-5d66886b4cd0c8df79ec59984a596e834da9d325.tar.gz
frameworks_base-5d66886b4cd0c8df79ec59984a596e834da9d325.tar.bz2
[automerger] Permission Check For DPM.getPermittedAccessibilityServices am: 4fd13eefcf am: 39eef269be
Change-Id: Ie52de123dc9e0587d16992f72e0794de69207b81
-rw-r--r--services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
index 5beb239..ddc2982 100644
--- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
+++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
@@ -7011,6 +7011,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
if (!mHasFeature) {
return null;
}
+ enforceManageUsers();
synchronized (this) {
List<String> result = null;
// If we have multiple profiles we return the intersection of the