* commit '44f4d77b75a2a34077a558e6edf107cd31775cc8':
  Fix NPE
This commit is contained in:
Ken Wakasa 2011-10-26 07:27:45 -07:00 committed by Android Git Automerger
commit 34d9b5307f

View file

@ -1655,6 +1655,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();
} }