Ensure the state is updated when needed
This commit is contained in:
parent
0f58de6edb
commit
2fb8ec71f0
@ -139,6 +139,9 @@ public class SongSelector extends PlaybackActivity implements AdapterView.OnItem
|
||||
|
||||
if (ContextApplication.hasService()) {
|
||||
PlaybackService service = ContextApplication.getService();
|
||||
// Force the state to be updated, even if PlaybackActivity has
|
||||
// already loaded it.
|
||||
mState = -1;
|
||||
setState(service.getState());
|
||||
onSongChange(service.getSong(0));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user