Loading services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -21882,7 +21882,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { } } if (!isProfileOwnerOfOrganizationOwnedDevice( if (!isProfileOwnerOfOrganizationOwnedDevice( admin.info.getComponent(), user.getIdentifier()) admin.info.getComponent(), user.getIdentifier()) && !isDeviceOwner(admin)) { && !isDeviceOwner(admin) && !(isProfileOwner(admin.info.getComponent(), user.getIdentifier()) && admin.getUserHandle().isSystem())) { continue; continue; } } // Don't send the broadcast twice if the DPC is the same package as the // Don't send the broadcast twice if the DPC is the same package as the Loading
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -21882,7 +21882,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub { } } if (!isProfileOwnerOfOrganizationOwnedDevice( if (!isProfileOwnerOfOrganizationOwnedDevice( admin.info.getComponent(), user.getIdentifier()) admin.info.getComponent(), user.getIdentifier()) && !isDeviceOwner(admin)) { && !isDeviceOwner(admin) && !(isProfileOwner(admin.info.getComponent(), user.getIdentifier()) && admin.getUserHandle().isSystem())) { continue; continue; } } // Don't send the broadcast twice if the DPC is the same package as the // Don't send the broadcast twice if the DPC is the same package as the