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

Commit 64f369bb authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am b4fad85c: Merge "Fix regression in AbsListView CHOICE_MODE_SINGLE" into jb-mr1-dev

* commit 'b4fad85c':
  Fix regression in AbsListView CHOICE_MODE_SINGLE
parents 68bf6eb4 b4fad85c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1077,8 +1077,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                checkedStateChanged = true;
            } else if (mChoiceMode == CHOICE_MODE_SINGLE) {
                boolean checked = !mCheckStates.get(position, false);
                mCheckStates.clear();
                if (checked) {
                    mCheckStates.clear();
                    mCheckStates.put(position, true);
                    if (mCheckedIdStates != null && mAdapter.hasStableIds()) {
                        mCheckedIdStates.clear();