I want to replace my android RemoteControlClient class in my application with a new one using MediaSession, but that not working with API level < 21, MediaSessionCompat s
As of revision 22 of the Support-v4 library, the source code for MediaSessionCompat shows that it now will automatically register and use a RemoteControlClient in API 14-20 devices before switching to MediaSession on API21+ devices.