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

* commit 'a31940df170ea7e8253736ce7b5dba2176699c25':
  Reset drag accelerator state in Editor#sendOnTextChanged.
This commit is contained in:
Keisuke Kuroyanagi
2015-06-12 11:19:53 +00:00
committed by Android Git Automerger

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();
}