This commit is contained in:
parent
b67d91374a
commit
c39f6e2a6b
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue