Merge "Simplification (B4)"
This commit is contained in:
commit
56523ce0bf
1 changed files with 1 additions and 5 deletions
|
@ -238,12 +238,8 @@ public class SettingsValues {
|
|||
return mInputAttributes.mEditorAction == EditorInfo.IME_ACTION_NEXT;
|
||||
}
|
||||
|
||||
private boolean isSuggestionStripRequestedByTextField() {
|
||||
return mInputAttributes.mIsSettingsSuggestionStripOn;
|
||||
}
|
||||
|
||||
public boolean isSuggestionsRequested(final int displayOrientation) {
|
||||
return isSuggestionStripRequestedByTextField()
|
||||
return mInputAttributes.mIsSettingsSuggestionStripOn
|
||||
&& (isCorrectionOn() || isSuggestionStripVisibleInOrientation(displayOrientation));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue