Merge "Add DPC restriction for INTERACT_ACROSS_PROFILES to javadoc." into rvc-dev am: d220529254

Change-Id: Icc6711ba035dcc8fa7e09d3116890a111769e6d6
This commit is contained in:
TreeHugger Robot
2020-05-29 13:24:42 +00:00
committed by Automerger Merge Worker

View File

@@ -277,10 +277,11 @@ public class CrossProfileApps {
* *
* <p>Specifically, returns whether the following are all true: * <p>Specifically, returns whether the following are all true:
* <ul> * <ul>
* <li>{@code UserManager#getEnabledProfileIds(int)} ()} returns at least one other profile for * <li>{@code UserManager#getEnabledProfileIds(int)} returns at least one other profile for the
* the calling user.</li> * calling user.</li>
* <li>The calling app has requested * <li>The calling app has requested
* {@code android.Manifest.permission.INTERACT_ACROSS_PROFILES} in its manifest.</li> * {@code android.Manifest.permission.INTERACT_ACROSS_PROFILES} in its manifest.</li>
* <li>The calling app is not a profile owner within the profile group of the calling user.</li>
* </ul> * </ul>
* *
* <p>Note that in order for the user to be able to grant the consent, the requesting package * <p>Note that in order for the user to be able to grant the consent, the requesting package