mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-12-01 12:31:45 +00:00
Reload media info later if playbackservice has no media object when it's
queried
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user