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

Commit 5f3b6c04 authored by Adam Cohen's avatar Adam Cohen Committed by Android Git Automerger
Browse files

am 7e52013d: am 6b149dcf: am c5481343: Merge "Fix weird page snap bug when...

am 7e52013d: am 6b149dcf: am c5481343: Merge "Fix weird page snap bug when long pressing on music controls (issue 11420449)" into klp-dev

* commit '7e52013d':
  Fix weird page snap bug when long pressing on music controls (issue 11420449)
parents 43eed477 7e52013d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2278,11 +2278,11 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
        mTempVisiblePagesRange[0] = 0;
        mTempVisiblePagesRange[1] = getPageCount() - 1;
        boundByReorderablePages(true, mTempVisiblePagesRange);
        mReorderingStarted = true;

        // Check if we are within the reordering range
        if (mTempVisiblePagesRange[0] <= dragViewIndex &&
                dragViewIndex <= mTempVisiblePagesRange[1]) {
            mReorderingStarted = true;
            if (zoomOut()) {
                // Find the drag view under the pointer
                mDragView = getChildAt(dragViewIndex);