summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2011-08-29 14:42:15 -0700
committerGilles Debunne <debunne@google.com>2011-08-29 14:42:17 -0700
commit57324c738272eb35217eebfa5001eff45101f683 (patch)
tree82d83e7c8427f1c2c121131f54de353974827aff /core
parent9906847cef4307896a64c68fa27da6603a7d8da2 (diff)
downloadframeworks_base-57324c738272eb35217eebfa5001eff45101f683.zip
frameworks_base-57324c738272eb35217eebfa5001eff45101f683.tar.gz
frameworks_base-57324c738272eb35217eebfa5001eff45101f683.tar.bz2
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
Diffstat (limited to 'core')
-rw-r--r--core/java/android/widget/TextView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java
index e9662ae..94f1604 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;
}