Add new hidden API in CrossProfileApps and other minor changes
* Added a new hidden API canUserAttemptToConfigureInteractAcrossProfiles to be used in settings. * Changed canRequestToInteractAcrossProfiles to return true when app is not whitelisted by the admin or installed in the other profile, this enables the app to navigate the user to the cross profile settings page were more information about why they can't grant the permission will be provided. Bug: 149742043 Test: atest CrossProfileAppsServiceImplRoboTest Test: atest CrossProfileAppsPermissionHostSideTest Test: CrossProfileAppsTest Change-Id: I9c7734d7ab0c7436d84a27604146ff539e1cb26a
Loading
Please register or sign in to comment