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

Commit 871f3ebb authored by Kenny Guy's avatar Kenny Guy
Browse files

Update docs to make suspend then uninstall clear.

Update docs to say suspending then unintalling an
app unsuspends the app. Point out admin can block
uninstall if they want.

Bug: 26935242
Change-Id: I4390fa20c9d8954b36ff80fc449b62891eee598c
parent f76535cd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3722,7 +3722,9 @@ public class DevicePolicyManager {
     * be hidden, it will not show up in recents, will not be able to show toasts or dialogs
     * 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 packageNames The package names to suspend or unsuspend.
+3 −0
Original line number 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
     * 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 suspended If set to {@code true} than the packages will be suspended, if set to
     * {@code false} the packages will be unsuspended.