+35
−0
+20
−0
+254
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Refactored the PO provisioning logic out of Managed Provisioning into a new SystemAPI, this new API will now be called by MP and CTS tests, allowing us to get rid of silent provisioning. Most of the code in ManagedProfileProvisioningHelper has been copied over from the MP tasks with slight modifications to call internal methods instead of public APIs for example. The main is difference is a newly added broadcast ACTION_MANAGED_PROFILE_CREATED to notify MP to take a snapshot of current system apps and cross profile packages. Test: atest android.devicepolicy.cts.DevicePolicyManagerTest Bug: 176973247 Change-Id: I3e234733f400e088a87fcc8b2985eafbb63ef539