From c39f6e2a6b79ff6d5871c80c63f415c22610994c Mon Sep 17 00:00:00 2001 From: Martin Fietz Date: Fri, 3 Jun 2016 13:17:01 +0200 Subject: [PATCH] Fix e1d8defa1fa114a96906aa60de74990a65c36ffc --- .../java/de/danoeh/antennapod/service/PlayerWidgetService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/danoeh/antennapod/service/PlayerWidgetService.java b/app/src/main/java/de/danoeh/antennapod/service/PlayerWidgetService.java index 6d1429df1..007a4d744 100644 --- a/app/src/main/java/de/danoeh/antennapod/service/PlayerWidgetService.java +++ b/app/src/main/java/de/danoeh/antennapod/service/PlayerWidgetService.java @@ -196,7 +196,7 @@ public class PlayerWidgetService extends Service { public void onServiceConnected(ComponentName className, IBinder service) { Log.d(TAG, "Connection to service established"); synchronized (psLock) { - if(service instanceof PlaybackService.LocalBinder == false) { + if(service instanceof PlaybackService.LocalBinder) { playbackService = ((PlaybackService.LocalBinder) service).getService(); startViewUpdaterIfNotRunning(); }