You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
EditText: handle setText(null) properly
This commit is contained in:
@@ -38,7 +38,7 @@ public class EditText extends TextView {
|
||||
|
||||
@Override
|
||||
public void setText(CharSequence text) {
|
||||
native_setText(widget, String.valueOf(text));
|
||||
native_setText(widget, text == null ? "" : text.toString());
|
||||
}
|
||||
@Override
|
||||
public void setTextSize(float size) {}
|
||||
|
||||
Reference in New Issue
Block a user