am 3e35b871: [3]Ping dictionary stats:Pass DictionaryFacilitator

* commit '3e35b8712c3df40291e6ff8ec2889b53f6dd8371':
  [3]Ping dictionary stats:Pass DictionaryFacilitator
main
Jatin Matani 2014-12-19 03:32:27 +00:00 committed by Android Git Automerger
commit ee05945af0
2 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,7 @@ package com.android.inputmethod.latin.utils;
import android.content.Context;
import com.android.inputmethod.latin.DictionaryFacilitator;
import com.android.inputmethod.latin.settings.SettingsValues;
@SuppressWarnings("unused")
@ -36,7 +37,8 @@ public class StatsUtilsManager {
public void onCreate(final Context context) {
}
public void onLoadSettings(final Context context, final SettingsValues settingsValues) {
public void onLoadSettings(final Context context, final SettingsValues settingsValues,
final DictionaryFacilitator dictionaryFacilitator) {
}
public void onStartInputView() {

View File

@ -636,7 +636,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
true /* allowsImplicitlySelectedSubtypes */));
refreshPersonalizationDictionarySession(currentSettingsValues);
resetDictionaryFacilitatorIfNecessary();
mStatsUtilsManager.onLoadSettings(this /* context */, currentSettingsValues);
mStatsUtilsManager.onLoadSettings(this /* context */, currentSettingsValues,
mDictionaryFacilitator);
}
private void refreshPersonalizationDictionarySession(