Merge "Dismiss magnifier correctly in concurrent editing scenario" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7b0989f35d
@@ -6684,13 +6684,13 @@ public class Editor {
|
|||||||
if (TextView.DEBUG_CURSOR) {
|
if (TextView.DEBUG_CURSOR) {
|
||||||
logCursor("SelectionModifierCursorController: onTouchEvent", "ACTION_UP");
|
logCursor("SelectionModifierCursorController: onTouchEvent", "ACTION_UP");
|
||||||
}
|
}
|
||||||
|
if (mEndHandle != null) {
|
||||||
|
mEndHandle.dismissMagnifier();
|
||||||
|
}
|
||||||
if (!isDragAcceleratorActive()) {
|
if (!isDragAcceleratorActive()) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
updateSelection(event);
|
updateSelection(event);
|
||||||
if (mEndHandle != null) {
|
|
||||||
mEndHandle.dismissMagnifier();
|
|
||||||
}
|
|
||||||
|
|
||||||
// No longer dragging to select text, let the parent intercept events.
|
// No longer dragging to select text, let the parent intercept events.
|
||||||
mTextView.getParent().requestDisallowInterceptTouchEvent(false);
|
mTextView.getParent().requestDisallowInterceptTouchEvent(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user