Merge "Null check for sentence level spell checking method."
This commit is contained in:
committed by
Android (Google) Code Review
commit
8c29df5afc
@@ -427,8 +427,12 @@ public class SpellCheckerSession {
|
||||
|
||||
@Override
|
||||
public void onGetSentenceSuggestions(SentenceSuggestionsInfo[] results) {
|
||||
mHandler.sendMessage(
|
||||
Message.obtain(mHandler, MSG_ON_GET_SUGGESTION_MULTIPLE_FOR_SENTENCE, results));
|
||||
synchronized (this) {
|
||||
if (mHandler != null) {
|
||||
mHandler.sendMessage(Message.obtain(mHandler,
|
||||
MSG_ON_GET_SUGGESTION_MULTIPLE_FOR_SENTENCE, results));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user