Merge pull request #5079 from ByteHamster/update-play-icon
Update play icon when service is stopped
This commit is contained in:
commit
ae71d17f0b
|
@ -210,6 +210,9 @@ public abstract class PlaybackController {
|
|||
Log.w(TAG, "Couldn't receive status update: playbackService was null");
|
||||
if (PlaybackService.isRunning) {
|
||||
bindToService();
|
||||
} else {
|
||||
status = PlayerStatus.STOPPED;
|
||||
handleStatus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -359,6 +362,7 @@ public abstract class PlaybackController {
|
|||
}
|
||||
break;
|
||||
case STOPPED:
|
||||
updatePlayButtonAppearance(playResource, playText);
|
||||
break;
|
||||
case PREPARED:
|
||||
checkMediaInfoLoaded();
|
||||
|
|
Loading…
Reference in New Issue