diff options
author | 2015-03-03 12:09:41 -0800 | |
---|---|---|
committer | 2015-03-03 12:11:00 -0800 | |
commit | 63a0bdb41bdc6dc3cd94f3354bf3bda4d057fa93 (patch) | |
tree | 135c84a0401f23656346a14b8d0b1e469181f458 | |
parent | 15cccfcb0d6d693883104b261f8750286084d718 (diff) | |
download | latinime-63a0bdb41bdc6dc3cd94f3354bf3bda4d057fa93.tar.gz latinime-63a0bdb41bdc6dc3cd94f3354bf3bda4d057fa93.tar.xz latinime-63a0bdb41bdc6dc3cd94f3354bf3bda4d057fa93.zip |
Forgot to remove reference to deleted class.
Change-Id: Ic662a536e468390a3f7266daf9c56e4fc5a70ac6
-rw-r--r-- | java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java b/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java index c38ea0037..4d2925d30 100644 --- a/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java +++ b/java/src/com/android/inputmethod/compat/SuggestionSpanUtils.java @@ -26,7 +26,6 @@ import android.text.style.SuggestionSpan; import com.android.inputmethod.annotations.UsedForTesting; import com.android.inputmethod.latin.SuggestedWords; import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo; -import com.android.inputmethod.latin.SuggestionSpanPickedNotificationReceiver; import com.android.inputmethod.latin.common.LocaleUtils; import com.android.inputmethod.latin.define.DebugFlags; @@ -65,8 +64,7 @@ public final class SuggestionSpanUtils { final Spannable spannable = new SpannableString(text); // TODO: Set locale if it is feasible. final SuggestionSpan suggestionSpan = new SuggestionSpan(context, null /* locale */, - new String[] {} /* suggestions */, OBJ_FLAG_AUTO_CORRECTION, - SuggestionSpanPickedNotificationReceiver.class); + new String[] {} /* suggestions */, OBJ_FLAG_AUTO_CORRECTION, null); spannable.setSpan(suggestionSpan, 0, text.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING); return spannable; @@ -96,8 +94,7 @@ public final class SuggestionSpanUtils { } // TODO: Set locale if it is feasible. final SuggestionSpan suggestionSpan = new SuggestionSpan(context, null /* locale */, - suggestionsList.toArray(new String[suggestionsList.size()]), 0 /* flags */, - SuggestionSpanPickedNotificationReceiver.class); + suggestionsList.toArray(new String[suggestionsList.size()]), 0 /* flags */, null); final Spannable spannable = new SpannableString(pickedWord); spannable.setSpan(suggestionSpan, 0, pickedWord.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); return spannable; |