Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f

Change-Id: Ib3e124e131c2959225a42413965080ccda94d1bb
This commit is contained in:
Mike Digman
2020-05-26 16:01:46 +00:00
committed by Automerger Merge Worker

View File

@@ -2147,8 +2147,7 @@ public class ChooserActivity extends ResolverActivity implements
extras.putString(Intent.EXTRA_SHORTCUT_ID, shortcutInfo.getId());
ChooserTarget chooserTarget = new ChooserTarget(
shortcutInfo.getLongLabel() != null ? shortcutInfo.getLongLabel()
: shortcutInfo.getShortLabel(),
shortcutInfo.getLabel(),
null, // Icon will be loaded later if this target is selected to be shown.
score, matchingShortcuts.get(i).getTargetComponent().clone(), extras);