mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-02 15:33:36 +00:00
Fix music sync with info/cover/notification
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user