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

Commit 8fdd1933 authored by George Mount's avatar George Mount Committed by Automerger Merge Worker
Browse files

Merge "Fix ListView not moving during catch" into sc-dev am: e0fa7da5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14829811

Change-Id: I71ed88df300bfc8831e3900e113a854b5329e4e8
parents f22f8c70 e0fa7da5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4575,7 +4575,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                int motionPosition = findMotionRow(y);
                if (isGlowActive()) {
                    // Pressed during edge effect, so this is considered the same as a fling catch.
                    mTouchMode = TOUCH_MODE_FLING;
                    touchMode = mTouchMode = TOUCH_MODE_FLING;
                } else if (touchMode != TOUCH_MODE_FLING && motionPosition >= 0) {
                    // User clicked on an actual view (and was not stopping a fling).
                    // Remember where the motion event started