playback: improve mediasession reliability

Fix some issues with PlaybackSessionConnector that resulted in the
position being stuck when a new song was played, alongside simplifying
the connector code to an extent.
This commit is contained in:
OxygenCobalt
2021-06-01 10:44:37 -06:00
parent ab28fb6323
commit 58eee7a891
4 changed files with 27 additions and 36 deletions
+1 -2
View File
@@ -91,8 +91,7 @@ dependencies {
// --- THIRD PARTY ---
// ExoPlayer
def exoplayer_version = "2.14.0"
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-core:2.14.0"
// Image loading
implementation "io.coil-kt:coil:1.2.1"