public void onEventMainThread(NotificationPreparedEvent event) { Log.d(TAG, "onEventMainThread: NotificationPreparedEvent"); long trackId = event.getTrackId(); String title = event.getTitle(); String artist = event.getArtist(); String album = event.getAlbum(); Bitmap artwork = event.getArtwork(); currentTrackInfo.setTitle(title); currentTrackInfo.setAlbumName(album); currentTrackInfo.setArtistName(artist); currentTrackInfo.setArtwork(artwork); showNotification(PLAY_STATE_PAUSED, getCurrentAudioPath(), title, artist, album, artwork); sendMetaInfoChanged(trackId, artist, album, title); sendPlayStateChanged(trackId, artist, album, title); }