parent
b2f93c53db
commit
a770d650b5
|
@ -336,8 +336,10 @@ public class Settings extends InputMethodSettingsActivity
|
||||||
R.string.auto_correction_threshold_mode_index_off);
|
R.string.auto_correction_threshold_mode_index_off);
|
||||||
final String currentSetting = mAutoCorrectionThresholdPreference.getValue();
|
final String currentSetting = mAutoCorrectionThresholdPreference.getValue();
|
||||||
mBigramSuggestion.setEnabled(!currentSetting.equals(autoCorrectionOff));
|
mBigramSuggestion.setEnabled(!currentSetting.equals(autoCorrectionOff));
|
||||||
|
if (null != mBigramPrediction) {
|
||||||
mBigramPrediction.setEnabled(!currentSetting.equals(autoCorrectionOff));
|
mBigramPrediction.setEnabled(!currentSetting.equals(autoCorrectionOff));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public Activity getActivityInternal() {
|
public Activity getActivityInternal() {
|
||||||
Object thisObject = (Object) this;
|
Object thisObject = (Object) this;
|
||||||
|
|
Loading…
Reference in New Issue