From b4ec0eb9e3f5d3f6a5ff11f9f938361fd169aa27 Mon Sep 17 00:00:00 2001 From: Koen Date: Fri, 7 Dec 2018 17:29:11 +0100 Subject: Fix Chromecast routes --- .../github/daneren2005/dsub/util/compat/RemoteControlClientLP.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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 b27a9850..e530e467 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 class RemoteControlClientLP extends RemoteControlClientBase { @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 -- cgit v1.2.3