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

am: e362ed3

* commit 'e362ed3267dcecc50364b734c3237481f6a6d3c1':
  Fix content description and accessibility focus on PreviewSeekBarPreferenceFragment. Bug: 27911511

Change-Id: Ia3b26bc7e848ea01de9abf6f83b0e27fbcec7363
This commit is contained in:
Noah Wang
2016-04-12 18:55:48 +00:00
committed by android-build-merger
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