Reset unset app-ops when the admin sets cross-profile packages.
When the admin unsets cross-profile packages, reset the INTERACT_ACROSS_PROFILES app-op back to the default if it is no longer configurable by the user. Other minor changes: - Remove the explicit app-op permission check from setInteractAcrossProfilesAppOp, since AppOpManager performs that check when required. - Fix the broadcasting logic in CrossProfileAppsServiceImpl to correctly set the component and flags. Bug: 136249261 Bug: 148010178 Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileCrossProfileTest Change-Id: Ib8b5f331fb92fc475bc95ad039adf93fac04da37
Loading
Please register or sign in to comment