NFC: don't use dynamic resources.
Also fixed talk-back for the default payment app selection. Bug: 21343778 Bug: 21588534 Change-Id: I2886b73edae507c7861351bac4610dbf3bebe027
This commit is contained in:
@@ -174,11 +174,13 @@ public class NfcPaymentPreference extends DialogPreference implements
|
||||
}
|
||||
holder.imageView.setImageDrawable(appInfo.banner);
|
||||
holder.imageView.setTag(appInfo);
|
||||
holder.imageView.setContentDescription(appInfo.label);
|
||||
holder.imageView.setOnClickListener(this);
|
||||
|
||||
// Prevent checked callback getting called on recycled views
|
||||
holder.radioButton.setOnCheckedChangeListener(null);
|
||||
holder.radioButton.setChecked(appInfo.isDefault);
|
||||
holder.radioButton.setContentDescription(appInfo.label);
|
||||
holder.radioButton.setOnCheckedChangeListener(this);
|
||||
holder.radioButton.setTag(appInfo);
|
||||
return convertView;
|
||||
|
Reference in New Issue
Block a user