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

Commit 3eaf181f authored by Gilles Debunne's avatar Gilles Debunne Committed by Android Git Automerger
Browse files

am 11c15cfb: am 78c6aeef: Merge "Fixed cast exception with selectable text." into jb-dev

* commit '11c15cfb':
  Fixed cast exception with selectable text.
parents 7ddb44b1 11c15cfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4631,7 +4631,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        // mInputType should already be EditorInfo.TYPE_NULL and mInput should be null

        setMovementMethod(selectable ? ArrowKeyMovementMethod.getInstance() : null);
        setText(getText(), selectable ? BufferType.SPANNABLE : BufferType.NORMAL);
        setText(mText, selectable ? BufferType.SPANNABLE : BufferType.NORMAL);

        // Called by setText above, but safer in case of future code changes
        mEditor.prepareCursorControllers();