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

Commit 883adec7 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Handle data changed during FlingRunnable."

parents 413ce9dd 7f2202b0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3774,6 +3774,10 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                }
                // Fall through
            case TOUCH_MODE_FLING: {
                if (mDataChanged) {
                    layoutChildren();
                }

                if (mItemCount == 0 || getChildCount() == 0) {
                    endFling();
                    return;