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

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

Merge "Fix bug 3175131 - listviews don't highlight properly"

parents 40e1bdb7 becb0be2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4529,8 +4529,9 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
     * Otherwise resurrects the selection and returns true if resurrected.
     */
    boolean resurrectSelectionIfNeeded() {
        if (mSelectedPosition < 0) {
            return resurrectSelection();
        if (mSelectedPosition < 0 && resurrectSelection()) {
            updateSelectorState();
            return true;
        }
        return false;
    }