Fix NPE
bug: 5512097 Change-Id: Id6752c95c9c4b39e7975daa187a2ab92b740060a
This commit is contained in:
parent
ee89b40a92
commit
cb8cb95d0a
1 changed files with 1 additions and 0 deletions
|
@ -1591,6 +1591,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isShowingPunctuationList() {
|
public boolean isShowingPunctuationList() {
|
||||||
|
if (mSuggestionsView == null) return false;
|
||||||
return mSettingsValues.mSuggestPuncList == mSuggestionsView.getSuggestions();
|
return mSettingsValues.mSuggestPuncList == mSuggestionsView.getSuggestions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue