Switch to new external media even if service is running
This commit is contained in:
parent
42874fbd43
commit
1c6e1cbc6d
|
@ -866,6 +866,7 @@ public abstract class MediaplayerActivity extends CastEnabledActivity implements
|
|||
ExternalMedia media = new ExternalMedia(intent.getData().getPath(), type);
|
||||
|
||||
new PlaybackServiceStarter(this, media)
|
||||
.callEvenIfRunning(true)
|
||||
.startWhenPrepared(true)
|
||||
.shouldStream(false)
|
||||
.prepareImmediately(true)
|
||||
|
|
Loading…
Reference in New Issue