summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid Build Merger (Role) <noreply-android-build-merger@google.com>2019-03-26 10:13:46 (GMT)
committerAndroid Build Merger (Role) <noreply-android-build-merger@google.com>2019-03-26 10:13:46 (GMT)
commita7c959176c5abfcd402d5350661237b81dfac4ff (patch)
tree9308fd0af8a95000a5c62719fe007a483442252d
parent809231680f4abe13cddb1e0ef2ef2688ac5ee5f8 (diff)
parent0f19d41748076958f2c54e6bed265fa149c44112 (diff)
downloadframeworks_base-a7c959176c5abfcd402d5350661237b81dfac4ff.zip
frameworks_base-a7c959176c5abfcd402d5350661237b81dfac4ff.tar.gz
frameworks_base-a7c959176c5abfcd402d5350661237b81dfac4ff.tar.bz2
[automerger] Permission Check For DPM.getPermittedAccessibilityServices am: 4fd13eefcf am: 39eef269be am: 5d66886b4c am: 75b579135c am: 0f19d41748
Change-Id: Idee49f5f8c935dda02d3a19c8b5680bed6d7de81
-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 55a1a45..8807aa1 100644
--- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
+++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
@@ -7764,6 +7764,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