aboutsummaryrefslogtreecommitdiffstats
path: root/libs/emojicon/src
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2015-08-16 22:39:26 +0200
committerlookshe <github@lookshe.org>2015-08-16 22:39:26 +0200
commitb936af529ff541711500189a1b303ff43757892c (patch)
treefb233ba14ce593fcf64e8e0de31c63c3b22f5dd0 /libs/emojicon/src
parent0321ebb7a6785b4673376f9e6458e41dd96b2230 (diff)
fix wrong class type usage
Diffstat (limited to 'libs/emojicon/src')
-rw-r--r--libs/emojicon/src/main/java/github/ankushsachdeva/emojicon/EmojiconHandler.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/emojicon/src/main/java/github/ankushsachdeva/emojicon/EmojiconHandler.java b/libs/emojicon/src/main/java/github/ankushsachdeva/emojicon/EmojiconHandler.java
index 3e032c42..958ac760 100644
--- a/libs/emojicon/src/main/java/github/ankushsachdeva/emojicon/EmojiconHandler.java
+++ b/libs/emojicon/src/main/java/github/ankushsachdeva/emojicon/EmojiconHandler.java
@@ -19,7 +19,6 @@ import github.ankushsachdeva.emojicon.R;
import android.content.Context;
import android.text.Spannable;
-import android.text.style.ImageSpan;
import android.util.SparseIntArray;
import java.util.HashMap;
@@ -1436,7 +1435,7 @@ public final class EmojiconHandler {
private static boolean getSmiledText(Context context, Spannable spannable) {
// remove spans throughout all text
- ImageSpan[] oldSpans = spannable.getSpans(0, spannable.length(), EmojiconImageSpan.class);
+ EmojiconImageSpan[] oldSpans = spannable.getSpans(0, spannable.length(), EmojiconImageSpan.class);
for (int i = 0; i < oldSpans.length; i++) {
spannable.removeSpan(oldSpans[i]);
}