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
2018-04-16 15:43:24 -07:00
parent 3483c52e6b
commit c7dc69dc1f
5 changed files with 1 additions and 24 deletions

View File

@@ -25,6 +25,7 @@ import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import com.android.launcher3.Launcher;
import com.android.launcher3.R;
import com.android.launcher3.Utilities;
@@ -167,10 +168,4 @@ public class PersonalWorkSlidingTabStrip extends LinearLayout implements PageInd
@Override
public void setMarkersCount(int numMarkers) { }
@Override
public void setPageDescription(CharSequence description) {
// We don't want custom page description as the tab-bar already has two tabs with their
// own descriptions.
}
}