Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java +3 −1 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java +3 −1 Original line number Diff line number Diff line Loading @@ -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) { Loading