OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d304030
)
Fix SearchView collapse on text input.
author
Amith Yamasani
<yamasani@google.com>
Fri, 17 Dec 2010 00:31:29 +0000
(16:31 -0800)
committer
Amith Yamasani
<yamasani@google.com>
Fri, 17 Dec 2010 00:31:29 +0000
(16:31 -0800)
Bug:
3291919
Change-Id: I2e510c3f8c4fa520dd100e722896f725ef70b79e
core/java/android/widget/SearchView.java
patch
|
blob
|
history
diff --git
a/core/java/android/widget/SearchView.java
b/core/java/android/widget/SearchView.java
index
1820c3f
..
dcd58b0
100644
(file)
--- a/
core/java/android/widget/SearchView.java
+++ b/
core/java/android/widget/SearchView.java
@@
-824,7
+824,7
@@
public class SearchView extends LinearLayout {
invalidate();
}
updateVoiceButton(!hasText);
- update
ViewsVisibility(mIconifiedByDefault
);
+ update
CloseButton(
);
if (mOnQueryChangeListener != null) {
mOnQueryChangeListener.onQueryTextChanged(newText.toString());
}