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

Commit cb03689f authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android (Google) Code Review
Browse files

Merge "Fix: setExtractedText partial span change handling." into nyc-dev

parents 17db42cb 70ab0eec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6552,7 +6552,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                if (TextUtils.equals(content.subSequence(start, end), text.text)) {
                    if (text.text instanceof Spanned) {
                        // OK to copy spans only.
                        TextUtils.copySpansFrom((Spanned) text.text, start, end,
                        TextUtils.copySpansFrom((Spanned) text.text, 0, end - start,
                                Object.class, content, start);
                    }
                } else {