Refine NFC settings UX
Adjust notification string when selecting a work app. Use NFC banner instead of app icon. Bug: 202367033 Test: manual Change-Id: I4f1094b8d48bb60716a2bf648dff593186d707aa
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user