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

Commit 716cf78b authored by kholoud mohamed's avatar kholoud mohamed Committed by Kholoud Mohamed
Browse files

Fix javadoc for CrossProfileApps#canRequestInteractAcrossProfiles

Remove the app being whitelisted requirement from
the javadoc.

Fixes: 154712757
Test: N/A
Change-Id: Ib476d0b19717e901d26039194d33f8c43f7e3f74
parent d48ca975
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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