diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index c7efcc9dbf2..3208849eb82 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -47,11 +47,14 @@
+
+
+
> result) {
+ Log.d(TAG, String.format("MediaBrowserService.onLoadChildren(%s)", parentId));
+
+ final List mediaItems = new ArrayList<>();
+
+ result.sendResult(mediaItems);
+ }
}
diff --git a/app/src/main/java/org/schabi/newpipe/player/mediasession/MediaSessionPlayerUi.java b/app/src/main/java/org/schabi/newpipe/player/mediasession/MediaSessionPlayerUi.java
index e9541ab06d8..d7ce59078b3 100644
--- a/app/src/main/java/org/schabi/newpipe/player/mediasession/MediaSessionPlayerUi.java
+++ b/app/src/main/java/org/schabi/newpipe/player/mediasession/MediaSessionPlayerUi.java
@@ -40,6 +40,7 @@ public void initPlayer() {
mediaSession = new MediaSessionCompat(context, TAG);
mediaSession.setActive(true);
+ player.getService().setSessionToken(mediaSession.getSessionToken());
sessionConnector = new MediaSessionConnector(mediaSession);
sessionConnector.setQueueNavigator(new PlayQueueNavigator(mediaSession, player));