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

Commit a0ae8bc5 authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix a bug that could cause flings to last too long using a Scroller" into gingerbread

parents 3de27d5a 1b088be8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -219,6 +219,10 @@ public class Scroller {
                mCurrY = Math.min(mCurrY, mMaxY);
                mCurrY = Math.max(mCurrY, mMinY);

                if (mCurrX == mFinalX && mCurrY == mFinalY) {
                    mFinished = true;
                }

                break;
            }
        }