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

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

Merge "Fix external bug http://code.google.com/p/android/issues/detail?id=15183" into honeycomb-mr1

parents 2498b4b8 7ee1ff14
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -564,6 +564,9 @@ class FastScroller {
            }
        } else {
            int index = (int) (position * count);
            // Don't overflow
            if (index > count - 1) index = count - 1;

            if (mList instanceof ExpandableListView) {
                ExpandableListView expList = (ExpandableListView) mList;
                expList.setSelectionFromTop(expList.getFlatListPosition(