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

Commit df737e44 authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Set the IME action to GO for normal textfields."

parents 72e5a882 af314e24
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -816,6 +816,9 @@ import java.util.ArrayList;
        int imeOptions = EditorInfo.IME_FLAG_NO_EXTRACT_UI
                | EditorInfo.IME_FLAG_NO_FULLSCREEN;
        switch (type) {
            case 0: // NORMAL_TEXT_FIELD
                imeOptions |= EditorInfo.IME_ACTION_GO;
                break;
            case 1: // TEXT_AREA
                single = false;
                inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE
@@ -851,6 +854,7 @@ import java.util.ArrayList;
                imeOptions |= EditorInfo.IME_ACTION_GO;
                break;
            default:
                imeOptions |= EditorInfo.IME_ACTION_GO;
                break;
        }
        setHint(null);