From e9afc5b6ffbfc5346a8e422ccec3d4564edcef7f Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 19 Jun 2013 00:59:11 +0200 Subject: [PATCH] Fixed music pausing after selecting renderer. --- src/com/github/nutomic/controldlna/service/PlayService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/github/nutomic/controldlna/service/PlayService.java b/src/com/github/nutomic/controldlna/service/PlayService.java index 8050ba2..8086aa6 100644 --- a/src/com/github/nutomic/controldlna/service/PlayService.java +++ b/src/com/github/nutomic/controldlna/service/PlayService.java @@ -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;