diff options
| author | 2024-03-12 00:03:09 +0000 | |
|---|---|---|
| committer | 2024-03-12 00:09:07 +0000 | |
| commit | 3240dc51540feeac23e4fa9c5339aed748bbfbb2 (patch) | |
| tree | 7c2ebea709394299807764ef555f77582f5c961c | |
| parent | ee3c7ff58952f908f83ee0eca34f74127b0b38ab (diff) | |
Clock not centering becuase KeyguardStatusView was disconnected
This seems a little latent and is having animation glitches, but it's
consisently centering and uncentering on my device. Will look into those
issues in the next change.
Bug: 327197245
Test: Presubmits & manual
Flag: ACONFIG com.android.systemui.migrate_clocks_to_blueprint STAGING
Change-Id: I62dcca494f11d8b897ec0a63073e0055421f7253
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java index b8675500a351..8b791de429ed 100644 --- a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java @@ -1753,10 +1753,11 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump } private void updateKeyguardStatusViewAlignment(boolean animate) { + boolean shouldBeCentered = shouldKeyguardStatusViewBeCentered(); if (migrateClocksToBlueprint()) { + mKeyguardInteractor.setClockShouldBeCentered(shouldBeCentered); return; } - boolean shouldBeCentered = shouldKeyguardStatusViewBeCentered(); ConstraintLayout layout = mNotificationContainerParent; mKeyguardStatusViewController.updateAlignment( layout, mSplitShadeEnabled, shouldBeCentered, animate); |