diff options
| author | Adam Powell <adamp@google.com> | 2012-12-10 15:38:33 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-12-10 15:38:33 -0800 |
| commit | 6a7304c95b9e2234bb0f1714eff6d2aadec61c04 (patch) | |
| tree | 9e2dafc39dd09f15dc803baa7a270fc2526c0f42 /core | |
| parent | b2a12263db67fc7669d618bee1caeca4eff9afe4 (diff) | |
| parent | 99d0ce9a759d2072878ce95f0433d80aa0a86928 (diff) | |
| download | frameworks_base-6a7304c95b9e2234bb0f1714eff6d2aadec61c04.zip frameworks_base-6a7304c95b9e2234bb0f1714eff6d2aadec61c04.tar.gz frameworks_base-6a7304c95b9e2234bb0f1714eff6d2aadec61c04.tar.bz2 | |
Merge "Clear SearchView query field when collapsed as an action view"
Diffstat (limited to 'core')
| -rw-r--r-- | core/java/android/widget/SearchView.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/widget/SearchView.java b/core/java/android/widget/SearchView.java index cd8638d..0281602 100644 --- a/core/java/android/widget/SearchView.java +++ b/core/java/android/widget/SearchView.java @@ -1247,6 +1247,7 @@ public class SearchView extends LinearLayout implements CollapsibleActionView { */ @Override public void onActionViewCollapsed() { + setQuery("", false); clearFocus(); updateViewsVisibility(true); mQueryTextView.setImeOptions(mCollapsedImeOptions); |
