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

Commit b39b0f32 authored by The Android Open Source Project's avatar The Android Open Source Project Committed by Android Git Automerger
Browse files

am faf9a783: merge from open-source master

Merge commit 'faf9a783' into kraken

* commit 'faf9a783':
  Text disappears when selecting text in text editor.
parents 627356ce faf9a783
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4547,6 +4547,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) {