mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Move dictionary facilitator handling.
Change-Id: Ibd42982996a36ac52b4c916035491b835f8d14f9
This commit is contained in:
parent
8b2908066d
commit
0103d75aaf
@ -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
Block a user