am 21509240: Merge change 6283 into donut

Merge commit '21509240b0ba00675ffc69038f20726bf8666c57'

* commit '21509240b0ba00675ffc69038f20726bf8666c57':
  Fix a bug where clicking the "more results" suggestion with the trackball
This commit is contained in:
Android (Google) Code Review
2009-07-06 14:45:16 -07:00
committed by The Android Open Source Project

View File

@@ -1572,6 +1572,15 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS
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.
*/