Loading services/java/com/android/server/DevicePolicyManagerService.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -1925,9 +1925,8 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { // Check for permissions if a particular caller is specified // Check for permissions if a particular caller is specified if (who != null) { if (who != null) { // When checking for a single caller, status is based on caller's request // When checking for a single caller, status is based on caller's request ActiveAdmin ap = getActiveAdminForCallerLocked(who, ActiveAdmin ap = getActiveAdminUncheckedLocked(who); DeviceAdminInfo.USES_ENCRYPTED_STORAGE); return ap != null ? ap.encryptionRequested : false; return ap.encryptionRequested; } } // If no particular caller is specified, return the aggregate set of requests. // If no particular caller is specified, return the aggregate set of requests. Loading Loading
services/java/com/android/server/DevicePolicyManagerService.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -1925,9 +1925,8 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { // Check for permissions if a particular caller is specified // Check for permissions if a particular caller is specified if (who != null) { if (who != null) { // When checking for a single caller, status is based on caller's request // When checking for a single caller, status is based on caller's request ActiveAdmin ap = getActiveAdminForCallerLocked(who, ActiveAdmin ap = getActiveAdminUncheckedLocked(who); DeviceAdminInfo.USES_ENCRYPTED_STORAGE); return ap != null ? ap.encryptionRequested : false; return ap.encryptionRequested; } } // If no particular caller is specified, return the aggregate set of requests. // If no particular caller is specified, return the aggregate set of requests. Loading