diff options
| -rw-r--r-- | core/java/android/app/admin/DevicePolicyManager.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index c50452157d74..08719fc549f8 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -4051,10 +4051,13 @@ public class DevicePolicyManager { public static final int EXEMPT_FROM_HIBERNATION = 3; /** - * Exempt an app from all power-related restrictions, including app standby and doze. + * Exempt an app from all power-related restrictions, including app standby. * In addition, the app will be able to start foreground services from the background, * and the user will not be able to stop foreground services run by the app. * + * <p><strong>Note:</strong> This option does NOT exempt apps from Doze mode. In fact, + * DPC apps themselves are not automatically exempted from Doze mode either. + * * @hide */ @SystemApi |