am 0187db39: Merge "Add StatsUtils#onLoadSettings for when settings are changed"
* commit '0187db39b537fb9edc68758686b197d8c89f8a33': Add StatsUtils#onLoadSettings for when settings are changedmain
commit
33c1353a01
|
@ -79,4 +79,7 @@ public final class StatsUtils {
|
||||||
public static void onWordCommitSuggestionPickedManually(
|
public static void onWordCommitSuggestionPickedManually(
|
||||||
final String commitWord, final boolean isBatchMode) {
|
final String commitWord, final boolean isBatchMode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void onLoadSettings(SettingsValues settingsValues) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,7 @@ import com.android.inputmethod.latin.R;
|
||||||
import com.android.inputmethod.latin.utils.AdditionalSubtypeUtils;
|
import com.android.inputmethod.latin.utils.AdditionalSubtypeUtils;
|
||||||
import com.android.inputmethod.latin.utils.ResourceUtils;
|
import com.android.inputmethod.latin.utils.ResourceUtils;
|
||||||
import com.android.inputmethod.latin.utils.RunInLocale;
|
import com.android.inputmethod.latin.utils.RunInLocale;
|
||||||
|
import com.android.inputmethod.latin.utils.StatsUtils;
|
||||||
import com.android.inputmethod.latin.utils.StringUtils;
|
import com.android.inputmethod.latin.utils.StringUtils;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
@ -169,6 +170,7 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
loadSettings(mContext, mSettingsValues.mLocale, mSettingsValues.mInputAttributes);
|
loadSettings(mContext, mSettingsValues.mLocale, mSettingsValues.mInputAttributes);
|
||||||
|
StatsUtils.onLoadSettings(mSettingsValues);
|
||||||
} finally {
|
} finally {
|
||||||
mSettingsValuesLock.unlock();
|
mSettingsValuesLock.unlock();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue