From 845aabbc830b491e016a61e30c13d26b2d3fc62d Mon Sep 17 00:00:00 2001 From: Christian Go??llner Date: Thu, 21 Jul 2022 11:27:19 +0200 Subject: [PATCH] [Split shade] Fix large clock moving horizontally during screen off The fix is to make sure that we update the constraints earlier than when the animation runs. Fixes: 208255733 Test: Manually Change-Id: I54bcf8d26b461253119bbf7ece3923393d9e53b8 --- .../android/systemui/shade/NotificationPanelViewController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java index bab92ba492c9a..ac9dfd0452ac8 100644 --- a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java @@ -3748,6 +3748,8 @@ public final class NotificationPanelViewController extends PanelViewController { final float dozeAmount = dozing ? 1 : 0; mStatusBarStateController.setAndInstrumentDozeAmount(mView, dozeAmount, animate); + + updateKeyguardStatusViewAlignment(animate); } public void setPulsing(boolean pulsing) {