summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorAlex Kershaw <alexkershaw@google.com>2020-03-18 22:21:57 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-18 22:21:57 +0000
commit78ce4ab54003e5c347cc8c27c2c8bca00fa9ca73 (patch)
tree24cc20a24aa3e3d59bf448f9ca159f3dff5505ea /core/java/android
parenta08e8e075dd1dfc758ae818d7a50965dfca48184 (diff)
parentd7fae7fede9cb11c79b501c64cb23176e8f51d6f (diff)
Merge "Clarify setPackagesSuspended javadoc" into rvc-dev
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/app/admin/DevicePolicyManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java
index 32e815e5b170..37f1a6559bfe 100644
--- a/core/java/android/app/admin/DevicePolicyManager.java
+++ b/core/java/android/app/admin/DevicePolicyManager.java
@@ -6832,6 +6832,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.