summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/nfc/PaymentBackend.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/nfc/PaymentBackend.java')
-rw-r--r--src/com/android/settings/nfc/PaymentBackend.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/settings/nfc/PaymentBackend.java b/src/com/android/settings/nfc/PaymentBackend.java
index 59f4ddf..f84bc74 100644
--- a/src/com/android/settings/nfc/PaymentBackend.java
+++ b/src/com/android/settings/nfc/PaymentBackend.java
@@ -61,8 +61,11 @@ public class PaymentBackend {
for (ApduServiceInfo service : serviceInfos) {
PaymentAppInfo appInfo = new PaymentAppInfo();
- appInfo.caption = service.loadLabel(pm);
appInfo.banner = service.loadBanner(pm);
+ appInfo.caption = service.getDescription();
+ if (appInfo.caption == null) {
+ appInfo.caption = service.loadLabel(pm);
+ }
appInfo.isDefault = service.getComponent().equals(defaultApp);
appInfo.componentName = service.getComponent();
appInfos.add(appInfo);