aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-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