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

Commit 6831615a authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

SystemUI: fix clock jumping when expanding QS from lockscreen



commit 4f965c58 fixed recalculating clock position from shade_locked but
it didn't account for other scenarios such as when the QS is expanding,
causing the clock to jump when expanding QS from lockscreen.

Change-Id: I0e4f473fbc500f7dcdfa015cbedda07761c3cdb2
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 7052bad3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2016,7 +2016,9 @@ public class NotificationPanelView extends PanelView implements

        // Hide "No notifications" in QS.
        mNotificationStackScroller.updateEmptyShadeView(mShadeEmpty && !mQsExpanded);
        if (mStatusBarState == StatusBarState.KEYGUARD) {
        if (mStatusBarState == StatusBarState.KEYGUARD
                && (!mQsExpanded || mQsExpandImmediate || mIsExpanding
                && mQsExpandedWhenExpandingStarted)) {
            positionClockAndNotifications();
        }
    }