Merge "Refine NFC settings UX"

This commit is contained in:
TreeHugger Robot
2022-02-15 14:45:04 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 3 deletions

View File

@@ -133,7 +133,9 @@ public class PaymentBackend {
appInfo.settingsComponent = null;
}
appInfo.description = service.getDescription();
appInfo.icon = pm.getUserBadgedIcon(service.loadIcon(pm), appInfo.userHandle);
Drawable icon = (service.loadBanner(pm) != null)
? service.loadBanner(pm) : service.loadIcon(pm);
appInfo.icon = pm.getUserBadgedIcon(icon, appInfo.userHandle);
appInfos.add(appInfo);
}