am 776bba09: Merge "Turn off personalization default settings"
* commit '776bba098b8777763128e78bc3f110a7250e27ae': Turn off personalization default settingsmain
commit
b68eff5f7d
|
@ -90,11 +90,11 @@
|
||||||
android:entries="@array/prefs_suggestion_visibilities"
|
android:entries="@array/prefs_suggestion_visibilities"
|
||||||
android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
|
android:defaultValue="@string/prefs_suggestion_visibility_default_value" />
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:key="pref_key_use_personalized_dicts"
|
android:key="pref_use_personalized_dicts"
|
||||||
android:title="@string/use_personalized_dicts"
|
android:title="@string/use_personalized_dicts"
|
||||||
android:summary="@string/use_personalized_dicts_summary"
|
android:summary="@string/use_personalized_dicts_summary"
|
||||||
android:persistent="true"
|
android:persistent="true"
|
||||||
android:defaultValue="true" />
|
android:defaultValue="false" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:title="@string/gesture_typing_category"
|
android:title="@string/gesture_typing_category"
|
||||||
|
|
|
@ -55,7 +55,7 @@ public final class Settings implements SharedPreferences.OnSharedPreferenceChang
|
||||||
public static final String PREF_MISC_SETTINGS = "misc_settings";
|
public static final String PREF_MISC_SETTINGS = "misc_settings";
|
||||||
public static final String PREF_ADVANCED_SETTINGS = "pref_advanced_settings";
|
public static final String PREF_ADVANCED_SETTINGS = "pref_advanced_settings";
|
||||||
public static final String PREF_KEY_USE_CONTACTS_DICT = "pref_key_use_contacts_dict";
|
public static final String PREF_KEY_USE_CONTACTS_DICT = "pref_key_use_contacts_dict";
|
||||||
public static final String PREF_KEY_USE_PERSONALIZED_DICTS = "pref_key_use_personalized_dicts";
|
public static final String PREF_USE_PERSONALIZED_DICTS = "pref_use_personalized_dicts";
|
||||||
public static final String PREF_KEY_USE_DOUBLE_SPACE_PERIOD =
|
public static final String PREF_KEY_USE_DOUBLE_SPACE_PERIOD =
|
||||||
"pref_key_use_double_space_period";
|
"pref_key_use_double_space_period";
|
||||||
public static final String PREF_BLOCK_POTENTIALLY_OFFENSIVE =
|
public static final String PREF_BLOCK_POTENTIALLY_OFFENSIVE =
|
||||||
|
|
|
@ -128,7 +128,7 @@ public final class SettingsValues {
|
||||||
Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST, false);
|
Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST, false);
|
||||||
mShowsLanguageSwitchKey = Settings.readShowsLanguageSwitchKey(prefs);
|
mShowsLanguageSwitchKey = Settings.readShowsLanguageSwitchKey(prefs);
|
||||||
mUseContactsDict = prefs.getBoolean(Settings.PREF_KEY_USE_CONTACTS_DICT, true);
|
mUseContactsDict = prefs.getBoolean(Settings.PREF_KEY_USE_CONTACTS_DICT, true);
|
||||||
mUsePersonalizedDicts = prefs.getBoolean(Settings.PREF_KEY_USE_PERSONALIZED_DICTS, true);
|
mUsePersonalizedDicts = prefs.getBoolean(Settings.PREF_USE_PERSONALIZED_DICTS, false);
|
||||||
mUseDoubleSpacePeriod = prefs.getBoolean(Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, true);
|
mUseDoubleSpacePeriod = prefs.getBoolean(Settings.PREF_KEY_USE_DOUBLE_SPACE_PERIOD, true);
|
||||||
mBlockPotentiallyOffensive = Settings.readBlockPotentiallyOffensive(prefs, res);
|
mBlockPotentiallyOffensive = Settings.readBlockPotentiallyOffensive(prefs, res);
|
||||||
mAutoCorrectEnabled = Settings.readAutoCorrectEnabled(autoCorrectionThresholdRawValue, res);
|
mAutoCorrectEnabled = Settings.readAutoCorrectEnabled(autoCorrectionThresholdRawValue, res);
|
||||||
|
|
Loading…
Reference in New Issue