diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-07-20 14:08:31 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-07-20 14:08:31 +0200 |
commit | eecc3b39a2b896bae9cdb1e197d3a07187601f6d (patch) | |
tree | 90c674a88d27636e8c8a61c7ffa0ba275c31804f /src/de/danoeh/antennapod/service | |
parent | 3448a1ef42066aef0bfd3cf2f32033bf2f68076c (diff) | |
download | AntennaPod-eecc3b39a2b896bae9cdb1e197d3a07187601f6d.zip |
Added notification icon for playback service
Diffstat (limited to 'src/de/danoeh/antennapod/service')
-rw-r--r-- | src/de/danoeh/antennapod/service/PlaybackService.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/de/danoeh/antennapod/service/PlaybackService.java b/src/de/danoeh/antennapod/service/PlaybackService.java index 355706bc9..e4dfc7f0a 100644 --- a/src/de/danoeh/antennapod/service/PlaybackService.java +++ b/src/de/danoeh/antennapod/service/PlaybackService.java @@ -24,6 +24,7 @@ import android.util.Log; import android.view.KeyEvent; import android.view.SurfaceHolder; import de.danoeh.antennapod.PodcastApp; +import de.danoeh.antennapod.R; import de.danoeh.antennapod.activity.MediaplayerActivity; import de.danoeh.antennapod.feed.Feed; import de.danoeh.antennapod.feed.FeedItem; @@ -513,12 +514,12 @@ public class PlaybackService extends Service { PendingIntent.FLAG_UPDATE_CURRENT); Bitmap icon = BitmapFactory.decodeResource(null, - android.R.drawable.stat_notify_sdcard); + R.drawable.ic_stat_antenna); notificationBuilder = new NotificationCompat.Builder(this) .setContentTitle("Mediaplayer Service") .setContentText("Click here for more info").setOngoing(true) .setContentIntent(pIntent).setLargeIcon(icon) - .setSmallIcon(android.R.drawable.stat_notify_sdcard); + .setSmallIcon(R.drawable.ic_stat_antenna); startForeground(NOTIFICATION_ID, notificationBuilder.getNotification()); Log.d(TAG, "Notification set up"); |