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

Commit 973bd0ff authored by Roman Birg's avatar Roman Birg
Browse files

SystemUI: fix qs pulldown on certain themes



Some themes define the peek height as 0, we should respect that and
allow the QS pulldown to still work.

Ticket: CYNGNOS-2756

Change-Id: I0404974a23ef41f4689c38ab86e3f09c4bb150ab
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
(cherry picked from commit 9b2e90cb)
parent 12f2a77f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1087,7 +1087,7 @@ public class NotificationPanelView extends PanelView implements
        }
        if (mTwoFingerQsExpandPossible && isOpenQsEvent(event)
                && event.getY(event.getActionIndex()) < mStatusBarMinHeight
                && mExpandedHeight < mQsPeekHeight) {
                && mExpandedHeight <= mQsPeekHeight) {
            MetricsLogger.count(mContext, COUNTER_PANEL_OPEN_QS, 1);
            mQsExpandImmediate = true;
            requestPanelHeightUpdate();