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 seem to work without crashing old devices, but no more ARTWORK or song infos on the LockScreen is displayed...
Any snippet or infos for me ?
Thanks all!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With