Loading core/java/android/widget/TextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -7646,7 +7646,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener if (start == end) { // Cases where the text ends with a '.' and we select from the end of the line // (right after the dot), or when we select from the space character in "aaa, bbb". final char c = mTransformed.charAt(start); final char c = mTransformed.charAt(start - 1); final int type = Character.getType(c); if (type == Character.OTHER_PUNCTUATION) continue; } Loading Loading
core/java/android/widget/TextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -7646,7 +7646,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener if (start == end) { // Cases where the text ends with a '.' and we select from the end of the line // (right after the dot), or when we select from the space character in "aaa, bbb". final char c = mTransformed.charAt(start); final char c = mTransformed.charAt(start - 1); final int type = Character.getType(c); if (type == Character.OTHER_PUNCTUATION) continue; } Loading