Merge "Fix: Text selection handles shouldn't be shown in accessibility mode" into mnc-dev
This commit is contained in:
@@ -9658,6 +9658,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
// controllers interact with how selection behaves.
|
// controllers interact with how selection behaves.
|
||||||
if (mEditor != null) {
|
if (mEditor != null) {
|
||||||
mEditor.hideCursorAndSpanControllers();
|
mEditor.hideCursorAndSpanControllers();
|
||||||
|
mEditor.stopTextActionMode();
|
||||||
}
|
}
|
||||||
CharSequence text = getIterableTextForAccessibility();
|
CharSequence text = getIterableTextForAccessibility();
|
||||||
if (Math.min(start, end) >= 0 && Math.max(start, end) <= text.length()) {
|
if (Math.min(start, end) >= 0 && Math.max(start, end) <= text.length()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user