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

Commit 890db42b authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Not create context menu when mouse right click outside list/grid items" into klp-dev

parents b9b1701d b339cc5b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3485,7 +3485,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
            mLastY = Integer.MIN_VALUE;
        }

        if (performButtonActionOnTouchDown(ev) && (mTouchMode == TOUCH_MODE_DOWN)) {
        if (mTouchMode == TOUCH_MODE_DOWN && mMotionPosition != INVALID_POSITION
                && performButtonActionOnTouchDown(ev)) {
            removeCallbacks(mPendingCheckForTap);
        }
    }