Removing accessibility description from page indicators

The current page is announced upon switching to it.
Is should be done this way for all future page implementations with
indicators.

Bug: 77827828
Test: Manual
Change-Id: I8f2f163a261dd7098939674d39e014236fc66d5d
This commit is contained in:
Vadim Tryshev committed 2018-04-16 15:43:24 -07:00
1 parent 3483c52e6b
commit c7dc69dc1f
5 files changed
+1 -24

No files matched your search

@@ -227,11 +227,6 @@ public class PageIndicatorDots extends View implements PageIndicator {
requestLayout();
}
@Override
public void setPageDescription(CharSequence description) {
setContentDescription(description);
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
// Add extra spacing of mDotRadius on all sides so than entry animation could be run.