Added clear playing queue menu item to now playing screen.
This commit is contained in:
parent
d7f57bb1f1
commit
1816c264a9
5 changed files with 26 additions and 3 deletions
|
|
@ -345,6 +345,14 @@ public class MusicPlayerRemote {
|
|||
return false;
|
||||
}
|
||||
|
||||
public static boolean clearQueue() {
|
||||
if (musicService != null) {
|
||||
musicService.clearQueue();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static int getAudioSessionId() {
|
||||
if (musicService != null) {
|
||||
return musicService.getAudioSessionId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue