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

Commit 44f7cdc0 authored by LuK1337's avatar LuK1337 Committed by Bruno Martins
Browse files

SystemUI: Reset horizontal panel position when on keyguard

* Fixes off-center notification views on lockscreen after
  attempting to pull qs from left/right side.

Change-Id: Ib6bb812c022d94d4d565f007276e17a8362f580d
parent 2fb8dda7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3082,7 +3082,7 @@ public class NotificationPanelView extends PanelView implements
     * @param x the x-coordinate the touch event
     */
    protected void updateVerticalPanelPosition(float x) {
        if (mNotificationStackScroller.getWidth() * 1.75f > getWidth()) {
        if (mKeyguardShowing || mNotificationStackScroller.getWidth() * 1.75f > getWidth()) {
            resetHorizontalPanelPosition();
            return;
        }