am 450176c5: Merge "Fix: Text selection handles shouldn\'t be shown in accessibility mode" into mnc-dev

* commit '450176c52cb42d77764b6cacb7988fa8a6ebfde4':
  Fix: Text selection handles shouldn't be shown in accessibility mode
This commit is contained in:
Mady Mellor
2015-06-26 21:27:14 +00:00
committed by Android Git Automerger

View File

@@ -9658,6 +9658,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
// controllers interact with how selection behaves.
if (mEditor != null) {
mEditor.hideCursorAndSpanControllers();
mEditor.stopTextActionMode();
}
CharSequence text = getIterableTextForAccessibility();
if (Math.min(start, end) >= 0 && Math.max(start, end) <= text.length()) {