From 57324c738272eb35217eebfa5001eff45101f683 Mon Sep 17 00:00:00 2001 From: Gilles Debunne Date: Mon, 29 Aug 2011 14:42:15 -0700 Subject: [PATCH] Moving action popup window when moving text selection Long press to select, the action popup (Paste) is displayed. A second long press moves the selection (selection mode is still on), but the action popup's location was not updated. Change-Id: I2ac133e608dbca35ec0236b47b42f029623fc303 --- core/java/android/widget/TextView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index e9662aeb760ef..94f1604b16e17 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -8928,6 +8928,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener stopSelectionActionMode(); } else { selectCurrentWord(); + getSelectionController().show(); } handled = true; }