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

Commit 12bba912 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 3238 into donut

* changes:
  Browser edit fields should report variation WEB_EDIT_TEXT.
parents 35c46680 88db3448
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -538,7 +538,8 @@ import java.util.ArrayList;
     * removing the password input type.
     */
    public void setSingleLine(boolean single) {
        int inputType = EditorInfo.TYPE_CLASS_TEXT;
        int inputType = EditorInfo.TYPE_CLASS_TEXT
                | EditorInfo.TYPE_TEXT_VARIATION_WEB_EDIT_TEXT;
        if (!single) {
            inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE
                    | EditorInfo.TYPE_TEXT_FLAG_CAP_SENTENCES