Skip to content

Commit

Permalink
Fix Chromecast routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenvh1 committed Dec 7, 2018
1 parent 968b1d6 commit b4ec0eb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@ public void updateAlbumArt(Entry currentSong, Bitmap bitmap) {

@Override
public void registerRoute(MediaRouter router) {
router.setMediaSession(mediaSession);
router.setMediaSessionCompat(mediaSession);
}

@Override
public void unregisterRoute(MediaRouter router) {
router.setMediaSession(null);
router.setMediaSessionCompat(null);
}

@Override
Expand Down

0 comments on commit b4ec0eb

Please sign in to comment.