Merge "Disallow dragging text in extracted mode" into mnc-dev

This commit is contained in:
Andrei Stingaceanu
2015-07-24 14:35:48 +00:00
committed by Android (Google) Code Review

View File

@@ -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();