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

Commit 3fbff860 authored by Shawn Lee's avatar Shawn Lee Committed by Android (Google) Code Review
Browse files

Merge "Null guard QS Header view in NSSL" into main

parents d40fe5b2 63e22878
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3751,6 +3751,11 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
    }

    protected boolean isInsideQsHeader(MotionEvent ev) {
        if (mQsHeader == null) {
            Log.wtf(TAG, "qsHeader is null while NSSL is handling a touch");
            return false;
        }

        mQsHeader.getBoundsOnScreen(mQsHeaderBound);
        /**
         * One-handed mode defines a feature FEATURE_ONE_HANDED of DisplayArea {@link DisplayArea}