Merge change 3238 into donut

* changes:
  Browser edit fields should report variation WEB_EDIT_TEXT.
This commit is contained in:
Android (Google) Code Review
2009-06-04 15:50:05 -07:00

View File

@@ -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