Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: androidx.media:media
Version used:1.5.0
Devices/Android versions reproduced on: pixel 5
When i add custom action like:
val customAction = PlaybackStateCompat.CustomAction.Builder(
"com.example.MY_CUSTOM_ACTION", // action ID
"Custom Action", // title - used as content description for the button
R.drawable.ic_custom_action
).build()
playbackStateBuilder.addCustomAction(customAction)
I can't start activity or move app to front when user click custom action by onCustomAction function called