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

Commit 70433b74 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update javadoc for EXEMPT_FROM_POWER_RESTRICTIONS" into main

parents 9db98601 0a7f1d4c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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