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

Commit ecea6a61 authored by Dan Zivkovic's avatar Dan Zivkovic Committed by Android (Google) Code Review
Browse files

Merge changes Iaed8abfb,I8e55b57c into jb-ub-latinimegoogle

* changes:
  LatinIME portion of StatsUtil change.
  Do not decorate committed spans.
parents f470729d 79e7cb75
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -104,4 +104,7 @@ public final class StatsUtils {

    public static void onInputConnectionLaggy(final int operation, final long duration) {
    }

    public static void onDecoderLaggy(final int operation, final long duration) {
    }
}
+4 −3
Original line number Diff line number Diff line
@@ -2158,9 +2158,10 @@ public final class InputLogic {
        final SuggestedWords suggestedWords = mSuggestedWords;
        // TODO: Locale should be determined based on context and the text given.
        final Locale locale = getDictionaryFacilitatorLocale();
        final CharSequence chosenWordWithSuggestions =
                SuggestionSpanUtils.getTextWithSuggestionSpan(mLatinIME, chosenWord,
                        suggestedWords, locale);
        final CharSequence chosenWordWithSuggestions = chosenWord;
        // b/21926256
        //      SuggestionSpanUtils.getTextWithSuggestionSpan(mLatinIME, chosenWord,
        //                suggestedWords, locale);
        if (DebugFlags.DEBUG_ENABLED) {
            long runTimeMillis = System.currentTimeMillis() - startTimeMillis;
            Log.d(TAG, "commitChosenWord() : " + runTimeMillis + " ms to run "