diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-01-15 16:12:13 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-01-15 16:12:13 -0800 |
commit | 946cd91e3618025971c50c50dcf434feb62a5185 (patch) | |
tree | 6d46fe93a0dfb7201fa1c04e2c3500b2c68b6de6 /src/com/android/launcher/Search.java | |
parent | 0e320b21ad4b8d6efa1c08cea64f3be4343517b4 (diff) | |
download | android_packages_apps_Trebuchet-946cd91e3618025971c50c50dcf434feb62a5185.tar.gz android_packages_apps_Trebuchet-946cd91e3618025971c50c50dcf434feb62a5185.tar.bz2 android_packages_apps_Trebuchet-946cd91e3618025971c50c50dcf434feb62a5185.zip |
auto import from //branches/cupcake/...@126645
Diffstat (limited to 'src/com/android/launcher/Search.java')
-rw-r--r-- | src/com/android/launcher/Search.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher/Search.java b/src/com/android/launcher/Search.java index b3305279f..41d6562c7 100644 --- a/src/com/android/launcher/Search.java +++ b/src/com/android/launcher/Search.java @@ -105,6 +105,7 @@ public class Search extends LinearLayout implements OnClickListener, OnKeyListen Bundle appData = new Bundle(); appData.putString(SearchManager.SOURCE, "launcher-widget"); sendLaunchIntent(Intent.ACTION_SEARCH, null, query, appData, 0, null, mSearchable); + clearQuery(); } /** @@ -359,6 +360,7 @@ public class Search extends LinearLayout implements OnClickListener, OnKeyListen String suggestionQuery = mSuggestionQuery; sendLaunchIntent(suggestionAction, suggestionData, suggestionQuery, null, KeyEvent.KEYCODE_UNKNOWN, null, si); + clearQuery(); return true; } } |