diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-02-27 20:47:44 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-27 20:47:44 +0000 |
commit | 883ff8507e42f7fbba6416e60fb116164219aa5f (patch) | |
tree | 3708181c7a19309f02bb4b93d073745c119338a2 /android/src/org/rockbox/Helper | |
parent | 952d82b7bd20f1bef7f3c316ebeb71c0d1e6d20b (diff) | |
download | rockbox-883ff8507e42f7fbba6416e60fb116164219aa5f.tar.gz rockbox-883ff8507e42f7fbba6416e60fb116164219aa5f.zip |
Android: Show cover art in the widget (including option to hide it).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29437 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/src/org/rockbox/Helper')
-rw-r--r-- | android/src/org/rockbox/Helper/RunForegroundManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/src/org/rockbox/Helper/RunForegroundManager.java b/android/src/org/rockbox/Helper/RunForegroundManager.java index e8b9620280..c08e742aba 100644 --- a/android/src/org/rockbox/Helper/RunForegroundManager.java +++ b/android/src/org/rockbox/Helper/RunForegroundManager.java @@ -11,7 +11,6 @@ import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; -import android.net.Uri; import android.util.Log; import android.widget.RemoteViews; @@ -83,7 +82,7 @@ public class RunForegroundManager api.stopForeground(); } - public void updateNotification(String title, String artist, String album) + public void updateNotification(String title, String artist, String album, String albumart) { RemoteViews views = mNotification.contentView; views.setTextViewText(R.id.title, title); @@ -98,6 +97,7 @@ public class RunForegroundManager widgetUpdate.putExtra("title", title); widgetUpdate.putExtra("artist", artist); widgetUpdate.putExtra("album", album); + widgetUpdate.putExtra("albumart", albumart); mCurrentService.sendBroadcast(widgetUpdate); } |