Merge change 3238 into donut
* changes: Browser edit fields should report variation WEB_EDIT_TEXT.
This commit is contained in:
@@ -538,7 +538,8 @@ import java.util.ArrayList;
|
|||||||
* removing the password input type.
|
* removing the password input type.
|
||||||
*/
|
*/
|
||||||
public void setSingleLine(boolean single) {
|
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) {
|
if (!single) {
|
||||||
inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE
|
inputType |= EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE
|
||||||
| EditorInfo.TYPE_TEXT_FLAG_CAP_SENTENCES
|
| EditorInfo.TYPE_TEXT_FLAG_CAP_SENTENCES
|
||||||
|
|||||||
Reference in New Issue
Block a user