aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@users.noreply.github.com>2018-12-07 08:57:36 -0800
committerGitHub <noreply@github.com>2018-12-07 08:57:36 -0800
commit2b26df335ccff17e3970ac94f4c0abfbd6898a47 (patch)
tree78887b950041199139f693a2f54dc0e91cffa384 /app
parent898b2a955dfbad411187c7311cc09286cf53b554 (diff)
parentb4ec0eb9e3f5d3f6a5ff11f9f938361fd169aa27 (diff)
downloaddsub-2b26df335ccff17e3970ac94f4c0abfbd6898a47.tar.gz
dsub-2b26df335ccff17e3970ac94f4c0abfbd6898a47.tar.bz2
dsub-2b26df335ccff17e3970ac94f4c0abfbd6898a47.zip
Merge pull request #923 from Koenvh1/edge
Fix Chromecast routes
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java4
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