summaryrefslogtreecommitdiff
path: root/android/text/Spannable.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/text/Spannable.java')
-rw-r--r--android/text/Spannable.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/android/text/Spannable.java b/android/text/Spannable.java
index 39b78eb0..8315b2aa 100644
--- a/android/text/Spannable.java
+++ b/android/text/Spannable.java
@@ -46,6 +46,19 @@ extends Spanned
public void removeSpan(Object what);
/**
+ * Remove the specified object from the range of text to which it
+ * was attached, if any. It is OK to remove an object that was never
+ * attached in the first place.
+ *
+ * See {@link Spanned} for an explanation of what the flags mean.
+ *
+ * @hide
+ */
+ default void removeSpan(Object what, int flags) {
+ removeSpan(what);
+ }
+
+ /**
* Factory used by TextView to create new {@link Spannable Spannables}. You can subclass
* it to provide something other than {@link SpannableString}.
*