DPMS: Allow DO to call cross-profile methods
As a part of Change-ID I5fc3345101c8f61c12a9bbdbd224e95e719a0795, cross-profile related methods were restricted to Profile Owner DPCs. As it turns out, some DPCs call these methods in DO mode as well. Revert the behaviour to allow DO DPC to call these methods (even if they have no effect). Bug: 165592830 Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest FrameworksServicesTests:DevicePolicyManagerTest com.android.cts.devicepolicy.MixedProfileOwnerTest Change-Id: I1b206ccfa963a615f361cee9b77c5049328a2596
Loading
Please register or sign in to comment