mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
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:
@@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user