diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-10-14 12:56:36 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-10-14 12:56:36 +0200 |
commit | 9eef78109f857cb4fb3e5b143602be61ebf6523e (patch) | |
tree | 8096fe67ba5abfbc8f0ee13ae724c1a5ea795f12 | |
parent | 9df7f7989d08d37526be716f12aefc34408504cb (diff) | |
download | AntennaPod-9eef78109f857cb4fb3e5b143602be61ebf6523e.zip |
Moved drawables from sdk folder into drawables folder
-rw-r--r-- | res/drawable-hdpi-v11/stat_notify_sync.png | bin | 0 -> 1012 bytes | |||
-rw-r--r-- | res/drawable-hdpi-v11/stat_notify_sync_error.png | bin | 0 -> 1103 bytes | |||
-rw-r--r-- | res/drawable-hdpi/stat_notify_sync.png | bin | 0 -> 674 bytes | |||
-rw-r--r-- | res/drawable-hdpi/stat_notify_sync_error.png | bin | 0 -> 708 bytes | |||
-rw-r--r-- | res/drawable-mdpi-v11/stat_notify_sync.png | bin | 0 -> 732 bytes | |||
-rw-r--r-- | res/drawable-mdpi-v11/stat_notify_sync_error.png | bin | 0 -> 746 bytes | |||
-rw-r--r-- | res/drawable-mdpi/stat_notify_sync.png | bin | 0 -> 628 bytes | |||
-rw-r--r-- | res/drawable-mdpi/stat_notify_sync_error.png | bin | 0 -> 627 bytes | |||
-rw-r--r-- | res/drawable-xhdpi-v11/stat_notify_sync.png | bin | 0 -> 1306 bytes | |||
-rw-r--r-- | res/drawable-xhdpi-v11/stat_notify_sync_error.png | bin | 0 -> 1434 bytes | |||
-rw-r--r-- | src/de/danoeh/antennapod/service/download/DownloadService.java | 12 |
11 files changed, 6 insertions, 6 deletions
diff --git a/res/drawable-hdpi-v11/stat_notify_sync.png b/res/drawable-hdpi-v11/stat_notify_sync.png Binary files differnew file mode 100644 index 000000000..90b39c958 --- /dev/null +++ b/res/drawable-hdpi-v11/stat_notify_sync.png diff --git a/res/drawable-hdpi-v11/stat_notify_sync_error.png b/res/drawable-hdpi-v11/stat_notify_sync_error.png Binary files differnew file mode 100644 index 000000000..074cdee27 --- /dev/null +++ b/res/drawable-hdpi-v11/stat_notify_sync_error.png diff --git a/res/drawable-hdpi/stat_notify_sync.png b/res/drawable-hdpi/stat_notify_sync.png Binary files differnew file mode 100644 index 000000000..bfb8110fe --- /dev/null +++ b/res/drawable-hdpi/stat_notify_sync.png diff --git a/res/drawable-hdpi/stat_notify_sync_error.png b/res/drawable-hdpi/stat_notify_sync_error.png Binary files differnew file mode 100644 index 000000000..b340a313e --- /dev/null +++ b/res/drawable-hdpi/stat_notify_sync_error.png diff --git a/res/drawable-mdpi-v11/stat_notify_sync.png b/res/drawable-mdpi-v11/stat_notify_sync.png Binary files differnew file mode 100644 index 000000000..1be8677f1 --- /dev/null +++ b/res/drawable-mdpi-v11/stat_notify_sync.png diff --git a/res/drawable-mdpi-v11/stat_notify_sync_error.png b/res/drawable-mdpi-v11/stat_notify_sync_error.png Binary files differnew file mode 100644 index 000000000..30658c583 --- /dev/null +++ b/res/drawable-mdpi-v11/stat_notify_sync_error.png diff --git a/res/drawable-mdpi/stat_notify_sync.png b/res/drawable-mdpi/stat_notify_sync.png Binary files differnew file mode 100644 index 000000000..03ce57a47 --- /dev/null +++ b/res/drawable-mdpi/stat_notify_sync.png diff --git a/res/drawable-mdpi/stat_notify_sync_error.png b/res/drawable-mdpi/stat_notify_sync_error.png Binary files differnew file mode 100644 index 000000000..f849b5040 --- /dev/null +++ b/res/drawable-mdpi/stat_notify_sync_error.png diff --git a/res/drawable-xhdpi-v11/stat_notify_sync.png b/res/drawable-xhdpi-v11/stat_notify_sync.png Binary files differnew file mode 100644 index 000000000..b3bf21ffe --- /dev/null +++ b/res/drawable-xhdpi-v11/stat_notify_sync.png diff --git a/res/drawable-xhdpi-v11/stat_notify_sync_error.png b/res/drawable-xhdpi-v11/stat_notify_sync_error.png Binary files differnew file mode 100644 index 000000000..33582ef10 --- /dev/null +++ b/res/drawable-xhdpi-v11/stat_notify_sync_error.png diff --git a/src/de/danoeh/antennapod/service/download/DownloadService.java b/src/de/danoeh/antennapod/service/download/DownloadService.java index 02dcb8af5..96a0621ff 100644 --- a/src/de/danoeh/antennapod/service/download/DownloadService.java +++ b/src/de/danoeh/antennapod/service/download/DownloadService.java @@ -199,8 +199,8 @@ public class DownloadService extends Service { this, DownloadActivity.class), PendingIntent.FLAG_UPDATE_CURRENT); - Bitmap icon = BitmapFactory.decodeResource(null, - android.R.drawable.stat_notify_sync_noanim); + Bitmap icon = BitmapFactory.decodeResource(getResources(), + R.drawable.stat_notify_sync); notificationBuilder = new NotificationCompat.Builder(this) .setContentTitle( getString(R.string.download_notification_title)) @@ -208,7 +208,7 @@ public class DownloadService extends Service { requester.getNumberOfDownloads() + getString(R.string.downloads_left)) .setOngoing(true).setContentIntent(pIntent).setLargeIcon(icon) - .setSmallIcon(android.R.drawable.stat_notify_sync_noanim); + .setSmallIcon(R.drawable.stat_notify_sync); startForeground(NOTIFICATION_ID, notificationBuilder.getNotification()); if (AppConfig.DEBUG) @@ -445,10 +445,10 @@ public class DownloadService extends Service { String.format( getString(R.string.download_report_content), successfulDownloads, failedDownloads)) - .setSmallIcon(android.R.drawable.stat_notify_sync) + .setSmallIcon(R.drawable.stat_notify_sync) .setLargeIcon( - BitmapFactory.decodeResource(null, - android.R.drawable.stat_notify_sync)) + BitmapFactory.decodeResource(getResources(), + R.drawable.stat_notify_sync)) .setContentIntent( PendingIntent.getActivity(this, 0, new Intent(this, DownloadLogActivity.class), 0)) |