This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Description
in my app has multiple main activities.(use activity-alias to create 2 app icons on phone)
i want to define different dynamic shortcuts for each or specified.(default is only define for the app launcher activity)
the guidance in android homepage says: Only main activities—activities that handle the Intent.ACTION_MAIN action and the Intent.CATEGORY_LAUNCHER category—can have shortcuts. If an app has multiple main activities, you need to define the set of shortcuts for each activity.
but how?