Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a4ec16d authored by Mike Digman's avatar Mike Digman Committed by Android (Google) Code Review
Browse files

Merge "Use current label for Sharing Shortcuts in Sharesheet" into rvc-dev

parents 1961a740 eb257d1a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);