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

* commit '45794910031ce2a0e2df3d1694783da7e3c4352b':
  Disallow dragging text in extracted mode
This commit is contained in:
Andrei Stingaceanu
2015-07-24 14:47:48 +00:00
committed by Android Git Automerger

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