Merge "Don't trim newer inputpointers with old data"
commit
bf075b21a1
|
@ -490,6 +490,7 @@ public final class InputLogic {
|
||||||
handler.showGesturePreviewAndSuggestionStrip(
|
handler.showGesturePreviewAndSuggestionStrip(
|
||||||
SuggestedWords.EMPTY, false /* dismissGestureFloatingPreviewText */);
|
SuggestedWords.EMPTY, false /* dismissGestureFloatingPreviewText */);
|
||||||
handler.cancelUpdateSuggestionStrip();
|
handler.cancelUpdateSuggestionStrip();
|
||||||
|
++mAutoCommitSequenceNumber;
|
||||||
mConnection.beginBatchEdit();
|
mConnection.beginBatchEdit();
|
||||||
if (mWordComposer.isComposingWord()) {
|
if (mWordComposer.isComposingWord()) {
|
||||||
if (settingsValues.mIsInternal) {
|
if (settingsValues.mIsInternal) {
|
||||||
|
@ -587,6 +588,7 @@ public final class InputLogic {
|
||||||
public void onEndBatchInput(final SettingsValues settingValues,
|
public void onEndBatchInput(final SettingsValues settingValues,
|
||||||
final InputPointers batchPointers) {
|
final InputPointers batchPointers) {
|
||||||
mInputLogicHandler.onEndBatchInput(batchPointers, mAutoCommitSequenceNumber);
|
mInputLogicHandler.onEndBatchInput(batchPointers, mAutoCommitSequenceNumber);
|
||||||
|
++mAutoCommitSequenceNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: remove this argument
|
// TODO: remove this argument
|
||||||
|
|
Loading…
Reference in New Issue