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

Commit f944d159 authored by LuK1337's avatar LuK1337
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 53d33241
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2667,7 +2667,7 @@ public class NotificationPanelViewController extends PanelViewController {
     * @param x the x-coordinate the touch event
     */
    protected void updateVerticalPanelPosition(float x) {
        if (mNotificationStackScroller.getWidth() * 1.75f > mView.getWidth()) {
        if (mKeyguardShowing || mNotificationStackScroller.getWidth() * 1.75f > mView.getWidth()) {
            resetHorizontalPanelPosition();
            return;
        }