Loading core/java/android/app/SearchDialog.java +9 −0 Original line number Original line Diff line number Diff line Loading @@ -1572,6 +1572,15 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS protected void replaceText(CharSequence text) { protected void replaceText(CharSequence text) { } } /** * We override this method to avoid an extra onItemClick being called on the * drop-down's OnItemClickListener by {@link AutoCompleteTextView#onKeyUp(int, KeyEvent)} * when an item is clicked with the trackball. */ @Override public void performCompletion() { } /** /** * We override this method so that we can allow a threshold of zero, which ACTV does not. * We override this method so that we can allow a threshold of zero, which ACTV does not. */ */ Loading Loading
core/java/android/app/SearchDialog.java +9 −0 Original line number Original line Diff line number Diff line Loading @@ -1572,6 +1572,15 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS protected void replaceText(CharSequence text) { protected void replaceText(CharSequence text) { } } /** * We override this method to avoid an extra onItemClick being called on the * drop-down's OnItemClickListener by {@link AutoCompleteTextView#onKeyUp(int, KeyEvent)} * when an item is clicked with the trackball. */ @Override public void performCompletion() { } /** /** * We override this method so that we can allow a threshold of zero, which ACTV does not. * We override this method so that we can allow a threshold of zero, which ACTV does not. */ */ Loading