Quit service when bottom_sheet_header is dragged down
This commit is contained in:
1 parent
12b23ab3c2
commit
5e6d28ece3
3 files changed
+11
No files matched your search
@@ -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