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");
|
Log.w(TAG, "Couldn't receive status update: playbackService was null");
|
||||||
if (PlaybackService.isRunning) {
|
if (PlaybackService.isRunning) {
|
||||||
bindToService();
|
bindToService();
|
||||||
|
} else {
|
||||||
|
status = PlayerStatus.STOPPED;
|
||||||
|
handleStatus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -359,6 +362,7 @@ public abstract class PlaybackController {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case STOPPED:
|
case STOPPED:
|
||||||
|
updatePlayButtonAppearance(playResource, playText);
|
||||||
break;
|
break;
|
||||||
case PREPARED:
|
case PREPARED:
|
||||||
checkMediaInfoLoaded();
|
checkMediaInfoLoaded();
|
||||||
|
|
Loading…
Reference in New Issue