Don't expand the SearchView if already expanded.

Change-Id: I0699f9f8fea0b62b4cf6d45e920bd2f515944005
This commit is contained in:
Amith Yamasani
2011-11-01 11:44:50 -07:00
parent 00ef15b98a
commit 434c73ffd8

View File

@@ -1187,6 +1187,8 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
*/
@Override
public void onActionViewExpanded() {
if (mExpandedInActionView) return;
mExpandedInActionView = true;
mCollapsedImeOptions = mQueryTextView.getImeOptions();
mQueryTextView.setImeOptions(mCollapsedImeOptions | EditorInfo.IME_FLAG_NO_FULLSCREEN);