Merge "Reset drag accelerator state in Editor#sendOnTextChanged." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a31940df17
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user