Loading core/java/android/app/admin/DevicePolicyManager.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -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. Loading core/java/android/content/pm/PackageManager.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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. Loading Loading
core/java/android/app/admin/DevicePolicyManager.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -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. Loading
core/java/android/content/pm/PackageManager.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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. Loading