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

Change-Id: Id8d95b69dce98d3f46aca77751fabe80fb3d7e1e
This commit is contained in:
TreeHugger Robot
2020-05-29 13:46:48 +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:
* <ul>
* <li>{@code UserManager#getEnabledProfileIds(int)} ()} returns at least one other profile for
* the calling user.</li>
* <li>{@code UserManager#getEnabledProfileIds(int)} returns at least one other profile for the
* calling user.</li>
* <li>The calling app has requested
* {@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>
*
* <p>Note that in order for the user to be able to grant the consent, the requesting package