summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher/Search.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher/Search.java')
-rw-r--r--src/com/android/launcher/Search.java2
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;
}
}