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

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

Merge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller" into froyo

parents cdf16787 a55191fe
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;
            }
        }