v2.0.00
This commit is contained in:
parent
a8dfe106bb
commit
3d7ba2afc6
193 changed files with 3667 additions and 2662 deletions
|
@ -251,17 +251,8 @@ public class MusicPlayerRemote {
|
|||
}
|
||||
|
||||
public static int seekTo(int millis) {
|
||||
getCastSession();
|
||||
if (musicService != null) {
|
||||
switch (playbackLocation) {
|
||||
case PlaybackLocation.LOCAL:
|
||||
return musicService.seek(millis);
|
||||
case PlaybackLocation.REMOTE:
|
||||
if (getCastSession() != null) {
|
||||
getCastSession().getRemoteMediaClient().seek(millis);
|
||||
}
|
||||
break;
|
||||
}
|
||||
return musicService.seek(millis);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue