HCE: Latest UX and strings.

Bug: 10262585
Change-Id: I5473c4d387fed884faf77c7448fab1332f710557
This commit is contained in:
Martijn Coenen
2013-09-05 21:07:23 -07:00
parent e9aa0a94d0
commit da6c0ba382
11 changed files with 94 additions and 58 deletions

View File

@@ -33,7 +33,7 @@ public class PaymentBackend {
public static class PaymentAppInfo {
CharSequence caption;
Drawable icon;
Drawable banner;
boolean isDefault;
public ComponentName componentName;
}
@@ -62,7 +62,7 @@ public class PaymentBackend {
for (ApduServiceInfo service : serviceInfos) {
PaymentAppInfo appInfo = new PaymentAppInfo();
appInfo.caption = service.loadLabel(pm);
appInfo.icon = service.loadIcon(pm);
appInfo.banner = service.loadBanner(pm);
appInfo.isDefault = service.getComponent().equals(defaultApp);
appInfo.componentName = service.getComponent();
appInfos.add(appInfo);