diff options
Diffstat (limited to 'core/java/android/text/Selection.java')
| -rw-r--r-- | core/java/android/text/Selection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/text/Selection.java b/core/java/android/text/Selection.java index 34456580ee61..5256e471e974 100644 --- a/core/java/android/text/Selection.java +++ b/core/java/android/text/Selection.java @@ -180,7 +180,7 @@ public class Selection { * Remove the selection or cursor, if any, from the text. */ public static final void removeSelection(Spannable text) { - text.removeSpan(SELECTION_START); + text.removeSpan(SELECTION_START, Spanned.SPAN_INTERMEDIATE); text.removeSpan(SELECTION_END); removeMemory(text); } |
