Merge change 5581 into donut
* changes: Add a null check in an AutoCompleteTextView callback to prevent a crash.
This commit is contained in:
@@ -1202,7 +1202,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user