Add buffering indicator

This commit is contained in:
Maxr1998 2020-12-21 20:36:34 +01:00
commit f668e51ba3
No known key found for this signature in database
GPG key ID: 3BA0CD3A11CDF7B8
7 changed files with 43 additions and 30 deletions

View file

@ -136,6 +136,10 @@ public class MusicPlayerRemote {
return musicService != null && musicService.isPlaying();
}
public static boolean isBuffering() {
return musicService != null && musicService.isBuffering();
}
public static void resumePlaying() {
if (musicService != null) {
musicService.play();