Reload media info later if playbackservice has no media object when it's
queried
This commit is contained in:
parent
81fbf3bcb6
commit
952c6aa331
|
@ -149,7 +149,8 @@ public abstract class PlaybackController {
|
|||
if (AppConfig.DEBUG)
|
||||
Log.d(TAG,
|
||||
"PlaybackService is running, trying to connect without start command.");
|
||||
bound = activity.bindService(new Intent(activity, PlaybackService.class), mConnection, 0);
|
||||
bound = activity.bindService(new Intent(activity,
|
||||
PlaybackService.class), mConnection, 0);
|
||||
}
|
||||
if (AppConfig.DEBUG)
|
||||
Log.d(TAG, "Result for service binding: " + bound);
|
||||
|
@ -405,6 +406,8 @@ public abstract class PlaybackController {
|
|||
|
||||
setupGUI();
|
||||
handleStatus();
|
||||
// make sure that new media is loaded if it's available
|
||||
mediaInfoLoaded = false;
|
||||
|
||||
} else {
|
||||
Log.e(TAG,
|
||||
|
|
Loading…
Reference in New Issue