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

Commit 434c73ff authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Don't expand the SearchView if already expanded.

Change-Id: I0699f9f8fea0b62b4cf6d45e920bd2f515944005
parent 00ef15b9
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);