Fixed music pausing after selecting renderer.
This commit is contained in:
parent
7afd8a70eb
commit
e9afc5b6ff
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ public class PlayService extends Service {
|
||||||
public void setRenderer(Device<?, ?, ?> renderer) {
|
public void setRenderer(Device<?, ?, ?> renderer) {
|
||||||
if (mSubscriptionCallback != null)
|
if (mSubscriptionCallback != null)
|
||||||
mSubscriptionCallback.end();
|
mSubscriptionCallback.end();
|
||||||
if (mRenderer != null && renderer != mRenderer)
|
if (mRenderer != null && !renderer.equals(mRenderer))
|
||||||
pause();
|
pause();
|
||||||
|
|
||||||
mRenderer = renderer;
|
mRenderer = renderer;
|
||||||
|
|
Reference in a new issue