Merge "Fix notification animation from AOD" into tm-qpr-dev am: 8eee52bf1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19211008 Change-Id: I9e6e9a7275cd4608b9985b512587fd5f546b932d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
cd34b85c53
@@ -2721,7 +2721,8 @@ public class CentralSurfacesImpl extends CoreStartable implements
|
|||||||
@Override
|
@Override
|
||||||
public void dismissKeyguardThenExecute(OnDismissAction action, Runnable cancelAction,
|
public void dismissKeyguardThenExecute(OnDismissAction action, Runnable cancelAction,
|
||||||
boolean afterKeyguardGone) {
|
boolean afterKeyguardGone) {
|
||||||
if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP
|
if (!action.willRunAnimationOnKeyguard()
|
||||||
|
&& mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP
|
||||||
&& mKeyguardStateController.canDismissLockScreen()
|
&& mKeyguardStateController.canDismissLockScreen()
|
||||||
&& !mStatusBarStateController.leaveOpenOnKeyguardHide()
|
&& !mStatusBarStateController.leaveOpenOnKeyguardHide()
|
||||||
&& mDozeServiceHost.isPulsing()) {
|
&& mDozeServiceHost.isPulsing()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user