Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63a0bdb4 authored by Dan Zivkovic's avatar Dan Zivkovic
Browse files

Forgot to remove reference to deleted class.

Change-Id: Ic662a536e468390a3f7266daf9c56e4fc5a70ac6
parent 15cccfcb
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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;