Update the notification on initial load

This commit is contained in:
Christopher Eby 2010-03-20 19:06:21 -05:00
parent d1aa74df89
commit bae99ac33f

View File

@ -378,6 +378,8 @@ public class PlaybackService extends Service implements Runnable, MediaPlayer.On
sendBroadcast(new Intent(EVENT_LOADED));
updateNotification(getSong(0));
IntentFilter filter = new IntentFilter();
filter.addAction(Intent.ACTION_HEADSET_PLUG);
filter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED);