Merge "Disable unlocked screen off if the display needs blanking." into sc-dev
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user