Fix e1d8defa1fa114a96906aa60de74990a65c36ffc

This commit is contained in:
Martin Fietz 2016-06-03 13:17:01 +02:00
parent b67d91374a
commit c39f6e2a6b

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