From 50258bff0a80e58f1e1c646804b0a4185e0aecde Mon Sep 17 00:00:00 2001 From: Nicolo' Mazzucato Date: Tue, 8 Feb 2022 15:11:00 +0100 Subject: [PATCH] Avoid animating keyguard views if they are centered during unfold Test: Manual Bug: 218484927 Change-Id: Ic42006112f9250a04173b61c9c6a671a175461f3 --- .../statusbar/phone/NotificationPanelViewController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java index 278b4ec5f53a3..16fb9302a5b4f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java @@ -1578,6 +1578,7 @@ public class NotificationPanelViewController extends PanelViewController constraintSet.applyTo(mNotificationContainerParent); } + mKeyguardUnfoldTransition.ifPresent(t -> t.setStatusViewCentered(mStatusViewCentered)); } /**