am ac9cf013: Merge "Don\'t set redundant content description for widgets" into jb-mr2-dev

* commit 'ac9cf013a57a673189253f03ace51481a930bf9a':
  Don't set redundant content description for widgets
This commit is contained in:
Michael Jurka
2013-04-18 09:45:51 -07:00
committed by Android Git Automerger
@@ -112,7 +112,6 @@ public class PagedViewWidget extends LinearLayout {
if (maxWidth > -1) {
image.setMaxWidth(maxWidth);
}
image.setContentDescription(info.label);
final TextView name = (TextView) findViewById(R.id.widget_name);
name.setText(info.label);
final TextView dims = (TextView) findViewById(R.id.widget_dims);
@@ -130,7 +129,6 @@ public class PagedViewWidget extends LinearLayout {
mInfo = info;
CharSequence label = info.loadLabel(pm);
final ImageView image = (ImageView) findViewById(R.id.widget_preview);
image.setContentDescription(label);
final TextView name = (TextView) findViewById(R.id.widget_name);
name.setText(label);
final TextView dims = (TextView) findViewById(R.id.widget_dims);