summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/widget/Editor.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java
index 48e25c513048..166411e7cecb 100644
--- a/core/java/android/widget/Editor.java
+++ b/core/java/android/widget/Editor.java
@@ -6635,7 +6635,9 @@ public class Editor {
}
updateSelection(event);
- if (mTextView.hasSelection() && mEndHandle != null) {
+ if (mTextView.hasSelection() && mEndHandle != null &&
+ isDragAcceleratorActive()
+ ) {
mEndHandle.updateMagnifier(event);
}
break;