[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: I1bb877e5cbdd74f2ffa8010b5bc6af35fe77279amain
parent
544da4a2ea
commit
bdf70af177
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue