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

Commit ab750d28 authored by Kenny Guy's avatar Kenny Guy Committed by Android (Google) Code Review
Browse files

Merge "Update docs to make suspend then uninstall clear." into nyc-dev

parents 9dea71cc 871f3ebb
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -3723,7 +3723,9 @@ public class DevicePolicyManager {
     * be hidden, it will not show up in recents, will not be able to show toasts or dialogs
     * be hidden, it will not show up in recents, will not be able to show toasts or dialogs
     * or ring the device.
     * or ring the device.
     *
     *
     * <p>The package must already be installed.
     * <p>The package must already be installed. If the package is uninstalled while suspended
     * the package will no longer be suspended. The admin can block this by using
     * {@link #setUninstallBlocked}.
     *
     *
     * @param admin The name of the admin component to check.
     * @param admin The name of the admin component to check.
     * @param packageNames The package names to suspend or unsuspend.
     * @param packageNames The package names to suspend or unsuspend.
+3 −0
Original line number Original line Diff line number Diff line
@@ -5367,6 +5367,9 @@ public abstract class PackageManager {
     * will be hidden, the application will not show up in recents, will not be able to show
     * will be hidden, the application will not show up in recents, will not be able to show
     * toasts or dialogs or ring the device.
     * toasts or dialogs or ring the device.
     *
     *
     * <p>The package must already be installed. If the package is uninstalled while suspended
     * the package will no longer be suspended.
     *
     * @param packageNames The names of the packages to set the suspended status.
     * @param packageNames The names of the packages to set the suspended status.
     * @param suspended If set to {@code true} than the packages will be suspended, if set to
     * @param suspended If set to {@code true} than the packages will be suspended, if set to
     * {@code false} the packages will be unsuspended.
     * {@code false} the packages will be unsuspended.