Merge "Add DPC restriction for INTERACT_ACROSS_PROFILES to javadoc." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d220529254
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user