Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4da9c209 authored by Alex Kershaw's avatar Alex Kershaw
Browse files

Add DPC restriction for INTERACT_ACROSS_PROFILES to javadoc.

Fixes: 157229284
Test: Javadoc only
Change-Id: I21f6276ba08e62c1f17a279241838fdbd352c8d8
parent ad13440a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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