Fix music sync with info/cover/notification

This commit is contained in:
CappielloAntonio committed 2021-04-13 18:13:22 +02:00
1 parent dfc10c76ca
commit c0088ff224
10 files changed
+132 -51

No files matched your search

@@ -118,7 +118,7 @@ public class MusicPlayerRemote {
public static void playNextSong() {
if (musicService != null) {
musicService.playNextSong(true);
musicService.playNextSong();
}
}
@@ -170,6 +170,14 @@ public class MusicPlayerRemote {
return false;
}
public static Song getCurrentSong() {
if (musicService != null) {
return musicService.getCurrentSong();
}
return null;
}
public static int getPosition() {
if (musicService != null) {
return musicService.getPosition();