DPMS: Prevent DO from calling cross-profile methods.
Do not allow the Device Owner to call methods that pretain to
cross-profile capabilities, as they do not make sense on a fully-managed
device (which cannot have a work profile anymore).
This change reverts Change-Id I1b206ccfa963a615f361cee9b77c5049328a2596.
Bug: 165592830
Bug: 165773555
Test: atest OrgOwnedProfileOwnerTest MixedDeviceOwnerTest MixedManagedProfileOwnerTest MixedProfileOwnerTest
Change-Id: I517396045b30f8860033a0983ad2e013e8641e15
1 file changed