Merge "Fix content description and accessibility focus on PreviewSeekBarPreferenceFragment. Bug: 27911511" into nyc-dev

This commit is contained in:
Noah Wang
2016-04-12 18:38:50 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 7 deletions

View File

@@ -60,9 +60,6 @@ public class PreviewPagerAdapter extends PagerAdapter {
mPreviewFrames[i].setLayoutParams(new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.MATCH_PARENT,
LinearLayout.LayoutParams.MATCH_PARENT));
mPreviewFrames[i].setContentDescription(
context.getString(R.string.preview_page_indicator_content_description, i + 1,
previewSampleResIds.length));
for (Configuration configuration : configurations) {
// Create a new configuration for the specified value. It won't