remove some unused methods in music service
This commit is contained in:
parent
e6ad84f16c
commit
b1ffa78a2e
3 changed files with 38 additions and 92 deletions
|
|
@ -342,15 +342,6 @@ public class MusicPlayerRemote {
|
|||
return false;
|
||||
}
|
||||
|
||||
public static boolean removeFromQueue(@NonNull Song song) {
|
||||
if (musicService != null) {
|
||||
musicService.removeSong(song);
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public static boolean removeFromQueue(int position) {
|
||||
if (musicService != null && position >= 0 && position < getPlayingQueue().size()) {
|
||||
musicService.removeSong(position);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue