Merge "Reset drag accelerator state in Editor#sendOnTextChanged." into mnc-dev

This commit is contained in:
Keisuke Kuroyanagi
2015-06-12 11:10:17 +00:00
committed by Android (Google) Code Review

View File

@@ -1162,6 +1162,10 @@ public class Editor {
// We do not hide the span controllers, since they can be added when a new text is
// inserted into the text view (voice IME).
hideCursorControllers();
// Reset drag accelerator.
if (mSelectionModifierCursorController != null) {
mSelectionModifierCursorController.resetTouchOffsets();
}
stopTextActionMode();
}