parent
2e58804a98
commit
ad56a9ac51
|
@ -426,8 +426,10 @@ public class Settings extends InputMethodSettingsActivity
|
||||||
final boolean showBigramSuggestionsOption = res.getBoolean(
|
final boolean showBigramSuggestionsOption = res.getBoolean(
|
||||||
R.bool.config_enable_bigram_suggestions_option);
|
R.bool.config_enable_bigram_suggestions_option);
|
||||||
if (!showBigramSuggestionsOption) {
|
if (!showBigramSuggestionsOption) {
|
||||||
textCorrectionGroup.removePreference(findPreference(PREF_BIGRAM_SUGGESTIONS));
|
textCorrectionGroup.removePreference(mBigramSuggestion);
|
||||||
textCorrectionGroup.removePreference(findPreference(PREF_BIGRAM_PREDICTIONS));
|
if (null != mBigramPrediction) {
|
||||||
|
textCorrectionGroup.removePreference(mBigramPrediction);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final boolean showUsabilityModeStudyOption = res.getBoolean(
|
final boolean showUsabilityModeStudyOption = res.getBoolean(
|
||||||
|
|
Loading…
Reference in New Issue