Added logging in cases where service did not know how to handle intent

This commit is contained in:
ByteHamster 2019-05-17 14:42:21 +02:00
parent 1f8f2be9ab
commit 785dff0698
1 changed files with 3 additions and 0 deletions

View File

@ -496,6 +496,9 @@ public class PlaybackService extends MediaBrowserServiceCompat {
playable = DBReader.getFeedMedia(((FeedMedia) playable).getId());
}
mediaPlayer.playMediaObject(playable, stream, startWhenPrepared, prepareImmediately);
} else {
Log.d(TAG, "Did not handle intent to PlaybackService: " + intent);
Log.d(TAG, "Extras: " + intent.getExtras());
}
}