diff options
author | Koen <koen@koenvh.nl> | 2018-12-07 17:29:11 +0100 |
---|---|---|
committer | Koen <koen@koenvh.nl> | 2018-12-07 17:29:11 +0100 |
commit | b4ec0eb9e3f5d3f6a5ff11f9f938361fd169aa27 (patch) | |
tree | 78887b950041199139f693a2f54dc0e91cffa384 /app/src/main/java/github | |
parent | 968b1d6972b137b4c1f1bdaf028db4bf54509579 (diff) | |
download | dsub-b4ec0eb9e3f5d3f6a5ff11f9f938361fd169aa27.tar.gz dsub-b4ec0eb9e3f5d3f6a5ff11f9f938361fd169aa27.tar.bz2 dsub-b4ec0eb9e3f5d3f6a5ff11f9f938361fd169aa27.zip |
Fix Chromecast routes
Diffstat (limited to 'app/src/main/java/github')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java | 4 |
1 files 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 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 |