Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dab15d14 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Don't expand the SearchView if already expanded." into ics-mr1

parents 11b49ba9 434c73ff
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);