summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Keisuke Kuroyanagi <ksk@google.com> 2016-03-15 14:47:08 +0900
committer Keisuke Kuroyanagi <ksk@google.com> 2016-03-15 14:47:08 +0900
commitfdfc93d77022f55ac702fbb796f74b6b717314c0 (patch)
treeab105598bdd0dcab24e57837198f9c5f31fbe1c6
parent62006a72a66ddc5849b28d7ceaaa304b66aa3dc9 (diff)
Re-disable drag and drop in full screen extracted mode.
Drag and drop in full screen extracted mode was disabled by Ifff4c30919bcb04f7d and re-enabled by I90d8e9f42f395b6b52. However, related issues have not been fixed. This CL re-disables it. Bug: 22440907 Change-Id: I753f69e170aa7e79478a5a4a3b89e4a7ef88c9e2
-rw-r--r--core/java/android/widget/Editor.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java
index 3b6ba3a758a1..90683d50ecc9 100644
--- a/core/java/android/widget/Editor.java
+++ b/core/java/android/widget/Editor.java
@@ -1081,6 +1081,10 @@ public class Editor {
}
private void startDragAndDrop() {
+ // TODO: Fix drag and drop in full screen extracted mode.
+ if (mTextView.isInExtractedMode()) {
+ return;
+ }
final int start = mTextView.getSelectionStart();
final int end = mTextView.getSelectionEnd();
CharSequence selectedText = mTextView.getTransformedText(start, end);