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) {
|
||||
if (mSubscriptionCallback != null)
|
||||
mSubscriptionCallback.end();
|
||||
if (mRenderer != null && renderer != mRenderer)
|
||||
if (mRenderer != null && !renderer.equals(mRenderer))
|
||||
pause();
|
||||
|
||||
mRenderer = renderer;
|
||||
|
|
Reference in a new issue