Send financed device state changed broadcast to POs on user 0
Bug: 272483242 Test: btest android.devicepolicy.cts.CheckFinancedTest Change-Id: I17df0fa05821293cc076bd6d284b5bf8651316a1
This commit is contained in:
@@ -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