Loading core/java/android/widget/Editor.java +1 −1 Original line number Diff line number Diff line Loading @@ -557,7 +557,7 @@ public class Editor { } } private void hideInsertionPointCursorController() { void hideInsertionPointCursorController() { if (mInsertionPointCursorController != null) { mInsertionPointCursorController.hide(); } Loading core/java/android/widget/TextView.java +6 −0 Original line number Diff line number Diff line Loading @@ -9067,6 +9067,12 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener } boolean selectAllText() { // Need to hide insert point cursor controller before settings selection, otherwise insert // point cursor controller obtains cursor update event and update cursor with cancelling // selection. if (mEditor != null) { mEditor.hideInsertionPointCursorController(); } final int length = mText.length(); Selection.setSelection((Spannable) mText, 0, length); return length > 0; Loading Loading
core/java/android/widget/Editor.java +1 −1 Original line number Diff line number Diff line Loading @@ -557,7 +557,7 @@ public class Editor { } } private void hideInsertionPointCursorController() { void hideInsertionPointCursorController() { if (mInsertionPointCursorController != null) { mInsertionPointCursorController.hide(); } Loading
core/java/android/widget/TextView.java +6 −0 Original line number Diff line number Diff line Loading @@ -9067,6 +9067,12 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener } boolean selectAllText() { // Need to hide insert point cursor controller before settings selection, otherwise insert // point cursor controller obtains cursor update event and update cursor with cancelling // selection. if (mEditor != null) { mEditor.hideInsertionPointCursorController(); } final int length = mText.length(); Selection.setSelection((Spannable) mText, 0, length); return length > 0; Loading