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

Commit 688f9d71 authored by Steve Elliott's avatar Steve Elliott Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] disable NSSL empty space click logic" into main

parents cd26e7fb 41f8d5b3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3851,6 +3851,7 @@ public class NotificationStackScrollLayout
    }

    void handleEmptySpaceClick(MotionEvent ev) {
        if (SceneContainerFlag.isEnabled()) return;
        logEmptySpaceClick(ev, isBelowLastNotification(mInitialTouchX, mInitialTouchY),
                mStatusBarState, mTouchIsClick);
        switch (ev.getActionMasked()) {
@@ -4062,6 +4063,7 @@ public class NotificationStackScrollLayout
    }

    public void setOnEmptySpaceClickListener(OnEmptySpaceClickListener listener) {
        SceneContainerFlag.assertInLegacyMode();
        mOnEmptySpaceClickListener = listener;
    }

+1 −0
Original line number Diff line number Diff line
@@ -1077,6 +1077,7 @@ public class NotificationStackScrollLayoutController implements Dumpable {

    public void setOnEmptySpaceClickListener(
            OnEmptySpaceClickListener listener) {
        SceneContainerFlag.assertInLegacyMode();
        mView.setOnEmptySpaceClickListener(listener);
    }