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

Commit 3644bf11 authored by Erik's avatar Erik Committed by Android (Google) Code Review
Browse files

Merge "b/3215774 Fix scrollMode notifications"

parents 79418114 b43d6a30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2542,7 +2542,6 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                        mTouchMode = TOUCH_MODE_SCROLL;
                        mMotionCorrection = 0;
                        motionPosition = findMotionRow(y);
                        reportScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL);
                        mFlingRunnable.flywheelTouch();
                    }
                }
@@ -2968,6 +2967,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                } else {
                    endFling();
                    mTouchMode = TOUCH_MODE_SCROLL;
                    reportScrollStateChange(OnScrollListener.SCROLL_STATE_TOUCH_SCROLL);
                }
            }
        };