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

Commit 15e77132 authored by Josh Tsuji's avatar Josh Tsuji Committed by Android (Google) Code Review
Browse files

Merge "Disable unlocked screen off if the display needs blanking." into sc-dev

parents 8646abf9 56a5f521
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -231,7 +231,9 @@ public class DozeParameters implements TunerService.Tunable,
     * possible if AOD isn't even enabled or if the flag is disabled.
     */
    public boolean canControlUnlockedScreenOff() {
        return getAlwaysOn() && mFeatureFlags.useNewLockscreenAnimations();
        return getAlwaysOn()
                && mFeatureFlags.useNewLockscreenAnimations()
                && !getDisplayNeedsBlanking();
    }

    private boolean getBoolean(String propName, int resId) {