Merge "Delay display DOZE on LS => AOD"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1003ce965d
@@ -309,7 +309,12 @@ public class DozeParameters implements
|
||||
* delayed for a few seconds. This might be useful to play animations without reducing FPS.
|
||||
*/
|
||||
public boolean shouldDelayDisplayDozeTransition() {
|
||||
return mScreenOffAnimationController.shouldDelayDisplayDozeTransition();
|
||||
return willAnimateFromLockScreenToAod()
|
||||
|| mScreenOffAnimationController.shouldDelayDisplayDozeTransition();
|
||||
}
|
||||
|
||||
private boolean willAnimateFromLockScreenToAod() {
|
||||
return getAlwaysOn() && mKeyguardShowing;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user