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

Commit 4454ac76 authored by Leon Scroggins's avatar Leon Scroggins Committed by Android Git Automerger
Browse files

am 0b1a9f76: am 9e3e2d3a: Show search icon for <input type="search"> fields.

Merge commit '0b1a9f76'

* commit '0b1a9f76':
  Show search icon for <input type="search"> fields.
parents 081dd1cf 0b1a9f76
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -338,6 +338,7 @@ import java.util.ArrayList;
            super.onEditorAction(actionCode);
            break;
        case EditorInfo.IME_ACTION_GO:
        case EditorInfo.IME_ACTION_SEARCH:
            // Send an enter and hide the soft keyboard
            InputMethodManager.getInstance(mContext)
                    .hideSoftInputFromWindow(getWindowToken(), 0);
@@ -827,6 +828,9 @@ import java.util.ArrayList;
            case 2: // DONE
                setImeOptions(EditorInfo.IME_ACTION_DONE);
                break;
            case 3: // SEARCH
                setImeOptions(EditorInfo.IME_ACTION_SEARCH);
                break;
            }
        } else {
            inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE