Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3240dc51 authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

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
parent ee3c7ff5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);