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

Commit f47ac3cf authored by Seigo Nonaka's avatar Seigo Nonaka Committed by Android (Google) Code Review
Browse files

Merge "Early exit if the target region is empty" into sc-v2-dev

parents 5df8cac5 3520d847
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -782,7 +782,7 @@ public class TextLine {

        int spanStart = runStart;
        int spanLimit;
        if (mSpanned == null) {
        if (mSpanned == null || runStart == runLimit) {
            spanLimit = runLimit;
        } else {
            int target = after ? offset + 1 : offset;