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

Commit d7fae7fe authored by Alex Kershaw's avatar Alex Kershaw
Browse files

Clarify setPackagesSuspended javadoc

Clarify that some packages cannot be suspended.

Fixes: 144411650
Test: Javadoc change only; not applicable
Change-Id: Ia89ad60c5445b3bf2a355eb49ea645f4962a1212
parent 61278391
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6824,6 +6824,10 @@ public class DevicePolicyManager {
     * package will no longer be suspended. The admin can block this by using
     * {@link #setUninstallBlocked}.
     *
     * <p>Some apps cannot be suspended, such as device admins, the active launcher, the required
     * package installer, the required package uninstaller, the required package verifier, the
     * default dialer, and the permission controller.
     *
     * @param admin The name of the admin component to check, or {@code null} if the caller is a
     *            package access delegate.
     * @param packageNames The package names to suspend or unsuspend.