Skip to content
Snippets Groups Projects
Commit 56523ce0 authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Simplification (B4)"

parents 5a125952 64e52051
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment