am b5e00d58
: Fix NPE in isCandidateStripVisible()
* commit 'b5e00d5841b946de8970875231456228ae0eb6b1': Fix NPE in isCandidateStripVisible()
This commit is contained in:
commit
c983da8949
1 changed files with 2 additions and 0 deletions
|
@ -1452,6 +1452,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isCandidateStripVisible() {
|
private boolean isCandidateStripVisible() {
|
||||||
|
if (mCandidateView == null)
|
||||||
|
return false;
|
||||||
if (mCandidateView.isShowingAddToDictionaryHint() || TextEntryState.isCorrecting())
|
if (mCandidateView.isShowingAddToDictionaryHint() || TextEntryState.isCorrecting())
|
||||||
return true;
|
return true;
|
||||||
if (!isShowingSuggestionsStrip())
|
if (!isShowingSuggestionsStrip())
|
||||||
|
|
Loading…
Reference in a new issue