Fix typo
Change-Id: I264f829c1584a37995dbc5ee4ba6b6783d5d4834
This commit is contained in:
parent
6b8a70105f
commit
d418580a71
1 changed files with 8 additions and 8 deletions
|
@ -111,17 +111,17 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
|
||||
// TODO: migrate this to SettingsValues
|
||||
private int mSuggestionVisibility;
|
||||
private static final int SUGGESTION_VISIBILILTY_SHOW_VALUE
|
||||
private static final int SUGGESTION_VISIBILITY_SHOW_VALUE
|
||||
= R.string.prefs_suggestion_visibility_show_value;
|
||||
private static final int SUGGESTION_VISIBILILTY_SHOW_ONLY_PORTRAIT_VALUE
|
||||
private static final int SUGGESTION_VISIBILITY_SHOW_ONLY_PORTRAIT_VALUE
|
||||
= R.string.prefs_suggestion_visibility_show_only_portrait_value;
|
||||
private static final int SUGGESTION_VISIBILILTY_HIDE_VALUE
|
||||
private static final int SUGGESTION_VISIBILITY_HIDE_VALUE
|
||||
= R.string.prefs_suggestion_visibility_hide_value;
|
||||
|
||||
private static final int[] SUGGESTION_VISIBILITY_VALUE_ARRAY = new int[] {
|
||||
SUGGESTION_VISIBILILTY_SHOW_VALUE,
|
||||
SUGGESTION_VISIBILILTY_SHOW_ONLY_PORTRAIT_VALUE,
|
||||
SUGGESTION_VISIBILILTY_HIDE_VALUE
|
||||
SUGGESTION_VISIBILITY_SHOW_VALUE,
|
||||
SUGGESTION_VISIBILITY_SHOW_ONLY_PORTRAIT_VALUE,
|
||||
SUGGESTION_VISIBILITY_HIDE_VALUE
|
||||
};
|
||||
|
||||
private static final int SPACE_STATE_NONE = 0;
|
||||
|
@ -1742,8 +1742,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
}
|
||||
|
||||
public boolean isShowingSuggestionsStrip() {
|
||||
return (mSuggestionVisibility == SUGGESTION_VISIBILILTY_SHOW_VALUE)
|
||||
|| (mSuggestionVisibility == SUGGESTION_VISIBILILTY_SHOW_ONLY_PORTRAIT_VALUE
|
||||
return (mSuggestionVisibility == SUGGESTION_VISIBILITY_SHOW_VALUE)
|
||||
|| (mSuggestionVisibility == SUGGESTION_VISIBILITY_SHOW_ONLY_PORTRAIT_VALUE
|
||||
&& mDisplayOrientation == Configuration.ORIENTATION_PORTRAIT);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue