mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
[3]Ping dictionary stats:Pass DictionaryFacilitator
Pass dictionaryFacilitator to StatsUtilsManager from LatinIME Bug:16553957 Change-Id: I912a0b447e5684909ff67e3653a4bd8649cd03c5
This commit is contained in:
parent
20469a8779
commit
3e35b8712c
@ -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() {
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user