Merge "[ML9.1] Add option for multi-lingual support"
This commit is contained in:
commit
3db17c5394
2 changed files with 4 additions and 3 deletions
|
@ -18,8 +18,7 @@ package com.android.inputmethod.latin.settings;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
|
import android.preference.PreferenceFragment;
|
||||||
import com.android.inputmethodcommon.InputMethodSettingsFragment;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility class for managing additional features settings.
|
* Utility class for managing additional features settings.
|
||||||
|
@ -32,7 +31,7 @@ public class AdditionalFeaturesSettingUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addAdditionalFeaturesPreferences(
|
public static void addAdditionalFeaturesPreferences(
|
||||||
final Context context, final InputMethodSettingsFragment settingsFragment) {
|
final Context context, final PreferenceFragment settingsFragment) {
|
||||||
// do nothing.
|
// do nothing.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,6 +109,8 @@ public final class AdvancedSettingsFragment extends SubScreenFragment {
|
||||||
removePreference(Settings.PREF_ENABLE_METRICS_LOGGING);
|
removePreference(Settings.PREF_ENABLE_METRICS_LOGGING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(context, this);
|
||||||
|
|
||||||
setupKeypressVibrationDurationSettings();
|
setupKeypressVibrationDurationSettings();
|
||||||
setupKeypressSoundVolumeSettings();
|
setupKeypressSoundVolumeSettings();
|
||||||
refreshEnablingsOfKeypressSoundAndVibrationSettings();
|
refreshEnablingsOfKeypressSoundAndVibrationSettings();
|
||||||
|
|
Loading…
Reference in a new issue