Adding a Custom User Action to the Android Media Session
问题 I'm trying to add a custom user action to my media session so that it shows up on the android auto action card, but I can't seem to get it to work. I've looked around, but didn't find much on how to explicitly add a custom action. I've included all the relevant code that is a part of my implementation of the only custom action I am trying to implement. I would like to know what is it I'm missing and/or is doing wrong. Thank you. public class MyMediaBrowserService extends