Update song selector controls on the proper event only

This commit is contained in:
Christopher Eby 2010-06-02 22:36:27 -05:00
parent 5f53a5dbc2
commit 203fadccb4

View File

@ -696,7 +696,7 @@ public class SongSelector extends PlaybackActivity implements AdapterView.OnItem
{
super.receive(intent);
if (mControls != null)
if (mControls != null && PlaybackService.EVENT_CHANGED.equals(intent.getAction()))
onSongChange((Song)intent.getParcelableExtra("song"));
}
}