Loading core/java/android/widget/TextView.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -6628,6 +6628,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener if (start == end) { if (start == end) { if (start >= prevStart && start < prevEnd) { if (start >= prevStart && start < prevEnd) { // Restore previous selection Selection.setSelection((Spannable)mText, prevStart, prevEnd); // Tapping inside the selection displays the cut/copy/paste context menu. // Tapping inside the selection displays the cut/copy/paste context menu. showContextMenu(); showContextMenu(); return; return; Loading Loading
core/java/android/widget/TextView.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -6628,6 +6628,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener if (start == end) { if (start == end) { if (start >= prevStart && start < prevEnd) { if (start >= prevStart && start < prevEnd) { // Restore previous selection Selection.setSelection((Spannable)mText, prevStart, prevEnd); // Tapping inside the selection displays the cut/copy/paste context menu. // Tapping inside the selection displays the cut/copy/paste context menu. showContextMenu(); showContextMenu(); return; return; Loading