Merge changes Iaed8abfb,I8e55b57c into jb-ub-latinimegoogle
* changes: LatinIME portion of StatsUtil change. Do not decorate committed spans.
This commit is contained in:
commit
ecea6a6113
2 changed files with 7 additions and 3 deletions
|
@ -104,4 +104,7 @@ public final class StatsUtils {
|
||||||
|
|
||||||
public static void onInputConnectionLaggy(final int operation, final long duration) {
|
public static void onInputConnectionLaggy(final int operation, final long duration) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void onDecoderLaggy(final int operation, final long duration) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2158,9 +2158,10 @@ public final class InputLogic {
|
||||||
final SuggestedWords suggestedWords = mSuggestedWords;
|
final SuggestedWords suggestedWords = mSuggestedWords;
|
||||||
// TODO: Locale should be determined based on context and the text given.
|
// TODO: Locale should be determined based on context and the text given.
|
||||||
final Locale locale = getDictionaryFacilitatorLocale();
|
final Locale locale = getDictionaryFacilitatorLocale();
|
||||||
final CharSequence chosenWordWithSuggestions =
|
final CharSequence chosenWordWithSuggestions = chosenWord;
|
||||||
SuggestionSpanUtils.getTextWithSuggestionSpan(mLatinIME, chosenWord,
|
// b/21926256
|
||||||
suggestedWords, locale);
|
// SuggestionSpanUtils.getTextWithSuggestionSpan(mLatinIME, chosenWord,
|
||||||
|
// suggestedWords, locale);
|
||||||
if (DebugFlags.DEBUG_ENABLED) {
|
if (DebugFlags.DEBUG_ENABLED) {
|
||||||
long runTimeMillis = System.currentTimeMillis() - startTimeMillis;
|
long runTimeMillis = System.currentTimeMillis() - startTimeMillis;
|
||||||
Log.d(TAG, "commitChosenWord() : " + runTimeMillis + " ms to run "
|
Log.d(TAG, "commitChosenWord() : " + runTimeMillis + " ms to run "
|
||||||
|
|
Loading…
Reference in a new issue