[ML27.1] Allow adding additional features to other settings

We may want to add additional features from some of the
other screens.

Bug: 11230254
Bug: 17966252
Change-Id: I1bb877e5cbdd74f2ffa8010b5bc6af35fe77279a
main
Jean Chalard 2014-10-16 14:06:24 +09:00
parent 544da4a2ea
commit bdf70af177
2 changed files with 2 additions and 0 deletions

View File

@ -38,5 +38,6 @@ public final class MultiLingualSettingsFragment extends SubScreenFragment {
removePreference(Settings.PREF_SHOW_LANGUAGE_SWITCH_KEY); removePreference(Settings.PREF_SHOW_LANGUAGE_SWITCH_KEY);
removePreference(Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST); removePreference(Settings.PREF_INCLUDE_OTHER_IMES_IN_LANGUAGE_SWITCH_LIST);
} }
AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(getActivity(), this);
} }
} }

View File

@ -56,6 +56,7 @@ public final class SettingsFragment extends InputMethodSettingsFragment {
final Preference accountsPreference = findPreference(Settings.SCREEN_ACCOUNTS); final Preference accountsPreference = findPreference(Settings.SCREEN_ACCOUNTS);
preferenceScreen.removePreference(accountsPreference); preferenceScreen.removePreference(accountsPreference);
} }
AdditionalFeaturesSettingUtils.addAdditionalFeaturesPreferences(getActivity(), this);
} }
@Override @Override