diff options
author | Andrei Stingaceanu <stg@google.com> | 2015-07-15 11:40:34 +0100 |
---|---|---|
committer | Andrei Stingaceanu <stg@google.com> | 2015-07-21 10:24:31 +0100 |
commit | b50045a5196696e707e178813c3a61ea4f3c54f7 (patch) | |
tree | 1825a2bb25ebc2700c82d77efd6a2f1be4ddb3e2 | |
parent | 18709f9a0095afe6dba11f9dd71e3210c5f4e1db (diff) | |
download | frameworks_base-b50045a5196696e707e178813c3a61ea4f3c54f7.zip frameworks_base-b50045a5196696e707e178813c3a61ea4f3c54f7.tar.gz frameworks_base-b50045a5196696e707e178813c3a61ea4f3c54f7.tar.bz2 |
Disallow dragging text in extracted mode
Temporary remove this ability.
Bug: 22440907
Change-Id: Ifff4c30919bcb04f7d0ab78f5e9c481381ac7a05
-rw-r--r-- | core/java/android/widget/Editor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java index d897f49..c2b9eef 100644 --- a/core/java/android/widget/Editor.java +++ b/core/java/android/widget/Editor.java @@ -1004,7 +1004,8 @@ public class Editor { } if (!handled && mTextActionMode != null) { - if (touchPositionIsInSelection()) { + // TODO: Fix dragging in extracted mode. + if (touchPositionIsInSelection() && !mTextView.isInExtractedMode()) { // Start a drag final int start = mTextView.getSelectionStart(); final int end = mTextView.getSelectionEnd(); |