This commit is contained in:
Martin Fietz 2016-06-03 13:17:01 +02:00
parent b67d91374a
commit c39f6e2a6b
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}