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

Commit e300deaf authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am b6936607: Merge change If3c7d429 into eclair-mr2

Merge commit 'b6936607' into eclair-mr2-plus-aosp

* commit 'b6936607':
  Report SCROLL_STATE_IDLE after the user finishes a scroll (not a fling.)
parents 19e0db20 b6936607
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2109,6 +2109,9 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                            }
                            reportScrollStateChange(OnScrollListener.SCROLL_STATE_FLING);
                            mFlingRunnable.start(-initialVelocity);
                        } else {
                            mTouchMode = TOUCH_MODE_REST;
                            reportScrollStateChange(OnScrollListener.SCROLL_STATE_IDLE);
                        }
                    }
                } else {