Merge "Send financed device state changed broadcast to POs on user 0" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2c50b9f7e2
@@ -21882,7 +21882,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
|
||||
}
|
||||
if (!isProfileOwnerOfOrganizationOwnedDevice(
|
||||
admin.info.getComponent(), user.getIdentifier())
|
||||
&& !isDeviceOwner(admin)) {
|
||||
&& !isDeviceOwner(admin)
|
||||
&& !(isProfileOwner(admin.info.getComponent(), user.getIdentifier())
|
||||
&& admin.getUserHandle().isSystem())) {
|
||||
continue;
|
||||
}
|
||||
// Don't send the broadcast twice if the DPC is the same package as the
|
||||
|
||||
Reference in New Issue
Block a user