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

Commit 7f58d908 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa Committed by Android (Google) Code Review
Browse files

Merge "Stop showing soft IME in picker screens" into ics-mr1

parents ed90ea54 004a3031
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -209,6 +209,9 @@ public class ContactSelectionActivity extends ContactsActivity
                }
            }, FOCUS_DELAY);
        }

        // Clear focus and suppress keyboard show-up.
        mSearchView.clearFocus();
    }

    @Override
@@ -222,19 +225,6 @@ public class ContactSelectionActivity extends ContactsActivity
        return true;
    }

    @Override
    public void onStart() {
        super.onStart();

        if (mSearchView != null && mSearchView.getVisibility() == View.VISIBLE) {
            if (mSearchView.hasFocus()) {
                showInputMethod(mSearchView.findFocus());
            } else {
                mSearchView.requestFocus();
            }
        }
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {