summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/SurfaceFlinger.cpp
diff options
context:
space:
mode:
author Mike LeBeau <mlebeau@android.com> 2009-07-06 14:29:25 -0700
committer Mike LeBeau <mlebeau@android.com> 2009-07-06 14:29:25 -0700
commit617202a53a26d1b38a41ce69c40b1fffd784c178 (patch)
tree13cec167c3239c40b2c83c83aa4bf2dbd396036a /libs/surfaceflinger/SurfaceFlinger.cpp
parent4bca97ecaf04c50d5ed49920d119f9ffa6c29402 (diff)
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) It turns out that when the trackball was used to select this item, onItemClick was getting called on the listener twice in AutoCompleteTextView#onKeyUp: once when we call onKeyUp on the DropDownListView, and once a little further down when we call performCompletion(). In our case, performCompletion() is useless since it was intended for normal AutoCompleteTextViews which populate text into the TextView when an item in the list is clicked, but we do not rely on this. So the easiest fix is just to make performCompletion() do nothing in our SearchAutoComplete subclass.
Diffstat (limited to 'libs/surfaceflinger/SurfaceFlinger.cpp')
0 files changed, 0 insertions, 0 deletions