Merge "Fix javadoc for CrossProfileApps#canRequestInteractAcrossProfiles" into rvc-dev am: 4bf358fe39 am: fa63df9f03

Change-Id: Ia5ef84102c55369f9f9a2c6e70b0b1f55bea9eaf
This commit is contained in:
Kholoud Mohamed
2020-04-23 10:47:46 +00:00
committed by Automerger Merge Worker

View File

@@ -279,12 +279,8 @@ public class CrossProfileApps {
* <ul>
* <li>{@code UserManager#getEnabledProfileIds(int)} ()} returns at least one other profile for
* the calling user.</li>
* <li>The calling app has requested</li>
* {@code android.Manifest.permission.INTERACT_ACROSS_PROFILES} in its manifest.
* <li>The calling package has either been whitelisted by default by the OEM or has been
* explicitly whitelisted by the admin via
* {@link android.app.admin.DevicePolicyManager#setCrossProfilePackages(ComponentName, Set)}.
* </li>
* <li>The calling app has requested
* {@code android.Manifest.permission.INTERACT_ACROSS_PROFILES} in its manifest.</li>
* </ul>
*
* <p>Note that in order for the user to be able to grant the consent, the requesting package