am 018afe8c: am 6495bfc7: Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
Merge commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e' * commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e': Follow-up to I36faf679 Cancel pending messages related to suggestion updates.main
commit
9c50d2ea36
|
@ -727,6 +727,14 @@ public class LatinIME extends InputMethodService
|
||||||
if (mUserBigramDictionary != null) mUserBigramDictionary.flushPendingWrites();
|
if (mUserBigramDictionary != null) mUserBigramDictionary.flushPendingWrites();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onFinishInputView(boolean finishingInput) {
|
||||||
|
super.onFinishInputView(finishingInput);
|
||||||
|
// Remove penging messages related to update suggestions
|
||||||
|
mHandler.removeMessages(MSG_UPDATE_SUGGESTIONS);
|
||||||
|
mHandler.removeMessages(MSG_UPDATE_OLD_SUGGESTIONS);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onUpdateExtractedText(int token, ExtractedText text) {
|
public void onUpdateExtractedText(int token, ExtractedText text) {
|
||||||
super.onUpdateExtractedText(token, text);
|
super.onUpdateExtractedText(token, text);
|
||||||
|
|
Loading…
Reference in New Issue