mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
* commit '2e0fc8bf33411de82c8110878878ec1d6c392fe3': Revert "Fix isSuggestionsStripVisible when keyboard hidden"
This commit is contained in:
commit
5ee11c5d9a
@ -2109,25 +2109,16 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
|
||||
}
|
||||
|
||||
private boolean isSuggestionsStripVisible() {
|
||||
final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView();
|
||||
if (null == mainKeyboardView || !mainKeyboardView.isShown()) {
|
||||
if (mSuggestionStripView == null)
|
||||
return false;
|
||||
}
|
||||
if (mSuggestionStripView == null) {
|
||||
return false;
|
||||
}
|
||||
if (mSuggestionStripView.isShowingAddToDictionaryHint()) {
|
||||
if (mSuggestionStripView.isShowingAddToDictionaryHint())
|
||||
return true;
|
||||
}
|
||||
if (null == mSettings.getCurrent()) {
|
||||
if (null == mSettings.getCurrent())
|
||||
return false;
|
||||
}
|
||||
if (!mSettings.getCurrent().isSuggestionStripVisibleInOrientation(mDisplayOrientation)) {
|
||||
if (!mSettings.getCurrent().isSuggestionStripVisibleInOrientation(mDisplayOrientation))
|
||||
return false;
|
||||
}
|
||||
if (mSettings.getCurrent().isApplicationSpecifiedCompletionsOn()) {
|
||||
if (mSettings.getCurrent().isApplicationSpecifiedCompletionsOn())
|
||||
return true;
|
||||
}
|
||||
return mSettings.getCurrent().isSuggestionsRequested(mDisplayOrientation);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user