From b4ec0eb9e3f5d3f6a5ff11f9f938361fd169aa27 Mon Sep 17 00:00:00 2001 From: Koen Date: Fri, 7 Dec 2018 17:29:11 +0100 Subject: [PATCH] Fix Chromecast routes --- .../daneren2005/dsub/util/compat/RemoteControlClientLP.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java index b27a98501..e530e467c 100644 --- a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java +++ b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java @@ -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