Moved drawables from sdk folder into drawables folder

This commit is contained in:
daniel oeh 2012-10-14 12:56:36 +02:00
parent 9df7f7989d
commit 9eef78109f
11 changed files with 6 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -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))