From b936af529ff541711500189a1b303ff43757892c Mon Sep 17 00:00:00 2001 From: lookshe Date: Sun, 16 Aug 2015 22:39:26 +0200 Subject: fix wrong class type usage --- .../src/main/java/github/ankushsachdeva/emojicon/EmojiconHandler.java | 3 +-- 1 file changed, 1 insertion(+), 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]); } -- cgit v1.2.3