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

Commit 8813394b authored by Mark Hansen's avatar Mark Hansen
Browse files

Avoid double-calling super.getText() in EditText.getText()

Just a small cleanup. TextView.getText() looks like it has some logic we might not want to repeat.

Change-Id: I364458d979275ad5dff24983e4ee2b9469f91155
parent b2b2a5d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ public class EditText extends TextView {
            return null;
        }
        if (text instanceof Editable) {
            return (Editable) super.getText();
            return (Editable) text;
        }
        super.setText(text, BufferType.EDITABLE);
        return (Editable) super.getText();