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

Commit 7a029da6 authored by Romain Guy's avatar Romain Guy Committed by Android Code Review
Browse files

Merge "Text disappears when selecting text in text editor."

parents 2b9a49a3 970a138c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4549,6 +4549,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    outText.text = TextUtils.substring(content, partialStartOffset,
                            partialEndOffset);
                }
            } else {
                outText.partialStartOffset = 0;
                outText.partialEndOffset = 0;
                outText.text = "";
            }
            outText.flags = 0;
            if (MetaKeyKeyListener.getMetaState(mText, MetaKeyKeyListener.META_SELECTING) != 0) {