Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev am: 9a4ec16d7f
Change-Id: I57ed05e511cfc5717888fca64a66a75b4c114c83
This commit is contained in:
@@ -2147,8 +2147,7 @@ public class ChooserActivity extends ResolverActivity implements
|
|||||||
extras.putString(Intent.EXTRA_SHORTCUT_ID, shortcutInfo.getId());
|
extras.putString(Intent.EXTRA_SHORTCUT_ID, shortcutInfo.getId());
|
||||||
|
|
||||||
ChooserTarget chooserTarget = new ChooserTarget(
|
ChooserTarget chooserTarget = new ChooserTarget(
|
||||||
shortcutInfo.getLongLabel() != null ? shortcutInfo.getLongLabel()
|
shortcutInfo.getLabel(),
|
||||||
: shortcutInfo.getShortLabel(),
|
|
||||||
null, // Icon will be loaded later if this target is selected to be shown.
|
null, // Icon will be loaded later if this target is selected to be shown.
|
||||||
score, matchingShortcuts.get(i).getTargetComponent().clone(), extras);
|
score, matchingShortcuts.get(i).getTargetComponent().clone(), extras);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user