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