diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-06 14:37:54 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-06 14:37:54 -0700 |
| commit | 21509240b0ba00675ffc69038f20726bf8666c57 (patch) | |
| tree | 4de2d645cfde32f2b2d97fa616cb7fa0c4e81a13 /core/java | |
| parent | d2882fa1790a976d939f29a5e39e5e7d1bc677f2 (diff) | |
| parent | 617202a53a26d1b38a41ce69c40b1fffd784c178 (diff) | |
| download | frameworks_base-21509240b0ba00675ffc69038f20726bf8666c57.zip frameworks_base-21509240b0ba00675ffc69038f20726bf8666c57.tar.gz frameworks_base-21509240b0ba00675ffc69038f20726bf8666c57.tar.bz2 | |
Merge change 6283 into donut
* changes:
Fix a bug where clicking the "more results" suggestion with the trackball did not seem to expand to show the corpus selectors. (http://b/1906643)
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/SearchDialog.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/app/SearchDialog.java b/core/java/android/app/SearchDialog.java index 0785029..fdb619a 100644 --- a/core/java/android/app/SearchDialog.java +++ b/core/java/android/app/SearchDialog.java @@ -1573,6 +1573,15 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS } /** + * 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. */ @Override |
