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

Commit 62ebe364 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 3a15fbd7: Merge change 5581 into donut

Merge commit '3a15fbd7'

* commit '3a15fbd7':
  Add a null check in an AutoCompleteTextView callback to prevent a crash.
parents 08bc0d51 3a15fbd7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1185,7 +1185,11 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe
                        int position, long id) {

                    if (position != -1) {
                        mDropDownList.mListSelectionHidden = false;
                        DropDownListView dropDownList = mDropDownList;

                        if (dropDownList != null) {
                            dropDownList.mListSelectionHidden = false;
                        }
                    }
                }