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) {
|
public void onServiceConnected(ComponentName className, IBinder service) {
|
||||||
Log.d(TAG, "Connection to service established");
|
Log.d(TAG, "Connection to service established");
|
||||||
synchronized (psLock) {
|
synchronized (psLock) {
|
||||||
if(service instanceof PlaybackService.LocalBinder == false) {
|
if(service instanceof PlaybackService.LocalBinder) {
|
||||||
playbackService = ((PlaybackService.LocalBinder) service).getService();
|
playbackService = ((PlaybackService.LocalBinder) service).getService();
|
||||||
startViewUpdaterIfNotRunning();
|
startViewUpdaterIfNotRunning();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue