playback: create custom mediasession connector

Create a custom session connector that connects between
PlaybackStateManager and MediaSession. The previous session connector
that was part of the exoplayer library turned out to cause bugs that
could cause the covert art not to show on the lock screen and to not
be recognized as proper player controls. This new connector
[once complete] should fix these issues.
This commit is contained in:
OxygenCobalt
2021-05-30 16:42:45 -06:00
parent cd930554bf
commit 1ddff8c6d3
4 changed files with 103 additions and 10 deletions
-1
View File
@@ -93,7 +93,6 @@ dependencies {
// ExoPlayer
def exoplayer_version = "2.14.0"
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
implementation "com.google.android.exoplayer:extension-mediasession:$exoplayer_version"
// Image loading
implementation "io.coil-kt:coil:1.2.1"