am c983da89: am b5e00d58: Fix NPE in isCandidateStripVisible()
* commit 'c983da89497e346667f2adb98c8bdb0947c38e43': Fix NPE in isCandidateStripVisible()main
commit
eae634030c
|
@ -1452,6 +1452,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||
}
|
||||
|
||||
private boolean isCandidateStripVisible() {
|
||||
if (mCandidateView == null)
|
||||
return false;
|
||||
if (mCandidateView.isShowingAddToDictionaryHint() || TextEntryState.isCorrecting())
|
||||
return true;
|
||||
if (!isShowingSuggestionsStrip())
|
||||
|
|
Loading…
Reference in New Issue