Change-Id: Ia2c7d9e9298330ae991956fca64b225adaeff898
main
Tadashi G. Takaoka 2011-06-27 22:54:18 +09:00
parent 8aee759262
commit 7e9615f218
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
private void setSuggestionStripShownInternal(boolean shown, boolean needsInputViewShown) {
// TODO: Modify this if we support candidates with hard keyboard
if (onEvaluateInputViewShown()) {
if (onEvaluateInputViewShown() && mCandidateViewContainer != null) {
final boolean shouldShowCandidates = shown
&& (needsInputViewShown ? mKeyboardSwitcher.isInputViewShown() : true);
if (isExtractViewShown()) {