+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add a method to the DevicePolicyManager for finding out if the device is an organization-owned device with a work profile (i.e. it has a work profile but the work profile was created during the provisioning flow). This method is currently available for privileged callers (system API), since other methods (e.g. isDeviceManaged) are also restricted. NOTE: Addition of GTS tests is pending final decision on whether this will be public API or not. Bug: 143518237 Bug: 144978467 Bug: 147340575 Test: atest FrameworksServicesTests:DevicePolicyManagerTest#testIsOrganizationOwnedDevice Test: CTS tests that are on hold for now. Change-Id: I26ce1de10844dc297924427a6d46df9208931ab0