Don't trigger textclassifier in a11y action.

Support for smart text share in a11y mode needs to be done differently.
See: b/34779222

Test: Manually tested
Bug: 35252502
Change-Id: Ia268065c21fc5ac716ca06a0ec9d3866fbd13aa4
This commit is contained in:
Abodunrinwa Toki
2017-02-28 18:02:53 +00:00
parent 035ecae4bb
commit 117240cc0e

View File

@@ -10329,7 +10329,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
Selection.setSelection((Spannable) text, start, end);
// Make sure selection mode is engaged.
if (mEditor != null) {
mEditor.startSelectionActionModeAsync();
mEditor.startSelectionActionMode();
}
return true;
}