Skip to content

Commit

Permalink
Update AndroidX Media to 1.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
TacoTheDank committed Sep 22, 2021
1 parent f36fd2f commit 79bfca0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-livedata:${androidxLifecycleVersion}"
implementation "androidx.lifecycle:lifecycle-viewmodel:${androidxLifecycleVersion}"
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.media:media:1.3.1'
implementation 'androidx.media:media:1.4.2'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public MediaSessionManager(@NonNull final Context context,
| PlaybackStateCompat.ACTION_SKIP_TO_NEXT
| PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS
| PlaybackStateCompat.ACTION_SET_REPEAT_MODE
| PlaybackStateCompat.ACTION_STOP)
| PlaybackStateCompat.ACTION_STOP
| PlaybackStateCompat.ACTION_SET_PLAYBACK_SPEED)
.build());

sessionConnector = new MediaSessionConnector(mediaSession);
Expand Down

0 comments on commit 79bfca0

Please sign in to comment.