Merge "Clarify setPackagesSuspended javadoc" into rvc-dev am: 78ce4ab540 am: de520349f9

Change-Id: I55b79d2e5cd2d20a2197a1adf3c7ef9c18daff5f
This commit is contained in:
Alex Kershaw
2020-03-18 22:49:32 +00:00
committed by Automerger Merge Worker

View File

@@ -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.