Refactoring

This commit is contained in:
M66B
2021-04-13 20:47:47 +02:00
parent 29990109d7
commit 5f363e1a58
3 changed files with 4 additions and 4 deletions

View File

@@ -4922,7 +4922,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override
protected void onExecuted(Bundle args, ContactInfo[] contactInfo) {
ShortcutInfoCompat.Builder builder =
Shortcuts.getMessage(context, message, contactInfo);
Shortcuts.getShortcut(context, message, contactInfo);
ShortcutManagerCompat.requestPinShortcut(context, builder.build(), null);
}