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

Commit b9b8f7b9 authored by Adam Powell's avatar Adam Powell
Browse files

DO NOT MERGE Fix bug 3124899 - timeout in CTS test

ExpandableListViewBasicTest

A certain sequence of events could cause AbsListView to enter an
infinite event loop. Only report reaching a scroll boundary to the
overscroll code path if the Scroller wants to move further, not if
we're done moving.

Change-Id: Ifdaf72d60ca25584e4a37d3d8f17365e0fcbfa40
parent 79e76f52
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -2890,7 +2890,9 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                        overScrollBy(0, overshoot, 0, mScrollY, 0, 0,
                        overScrollBy(0, overshoot, 0, mScrollY, 0, 0,
                                0, mOverflingDistance, false);
                                0, mOverflingDistance, false);
                    }
                    }
                    if (more) {
                        edgeReached(delta);
                        edgeReached(delta);
                    }
                    break;
                    break;
                }
                }