Martin wrote:The missing piece was a missing function to add a parcelable to the broadcast intent (putParcelable). The function is used to add the icon to the intent.
The exception is likely caused by adding an icon that's too large. You can try to scale the image down a bit before adding it to the intent.
I use the original app icon, how does it work on normal shortcuts but here it's too big?