Simplification (B4)
Change-Id: Id5abf722a533980ed2d89381dbddc0a71b6f5b6b
This commit is contained in:
parent
fe53e5c060
commit
64e52051cf
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