am ddee4914: Merge "Move dictionary facilitator handling."
* commit 'ddee491450bd4447d1dcf102f472fe7038cbfb1d': Move dictionary facilitator handling.main
commit
c36a0c37b4
|
@ -34,11 +34,10 @@ public class StatsUtilsManager {
|
|||
return sInstance;
|
||||
}
|
||||
|
||||
public void onCreate(final Context context) {
|
||||
public void onCreate(final Context context, final DictionaryFacilitator dictionaryFacilitator) {
|
||||
}
|
||||
|
||||
public void onLoadSettings(final Context context, final SettingsValues settingsValues,
|
||||
final DictionaryFacilitator dictionaryFacilitator) {
|
||||
public void onLoadSettings(final Context context, final SettingsValues settingsValues) {
|
||||
}
|
||||
|
||||
public void onStartInputView() {
|
||||
|
|
|
@ -553,7 +553,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
KeyboardSwitcher.init(this);
|
||||
AudioAndHapticFeedbackManager.init(this);
|
||||
AccessibilityUtils.init(this);
|
||||
mStatsUtilsManager.onCreate(this /* context */);
|
||||
mStatsUtilsManager.onCreate(this /* context */, mDictionaryFacilitator);
|
||||
super.onCreate();
|
||||
|
||||
mHandler.onCreate();
|
||||
|
@ -606,8 +606,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
}
|
||||
refreshPersonalizationDictionarySession(currentSettingsValues);
|
||||
resetDictionaryFacilitatorIfNecessary();
|
||||
mStatsUtilsManager.onLoadSettings(this /* context */, currentSettingsValues,
|
||||
mDictionaryFacilitator);
|
||||
mStatsUtilsManager.onLoadSettings(this /* context */, currentSettingsValues);
|
||||
}
|
||||
|
||||
private void refreshPersonalizationDictionarySession(
|
||||
|
|
Loading…
Reference in New Issue