mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-02 07:23:36 +00:00
Quit service when bottom_sheet_header is dragged down
This commit is contained in:
@@ -142,6 +142,12 @@ public class MusicPlayerRemote {
|
||||
return musicService != null && musicService.isLoading();
|
||||
}
|
||||
|
||||
public static void quitPlaying() {
|
||||
if (musicService != null) {
|
||||
musicService.quitPlaying();
|
||||
}
|
||||
}
|
||||
|
||||
public static void resumePlaying() {
|
||||
if (musicService != null) {
|
||||
musicService.play();
|
||||
|
||||
Reference in New Issue
Block a user