diff --git a/media/updates_notification.svg b/media/updates_notification.svg new file mode 100644 index 000000000..c78bc97d7 --- /dev/null +++ b/media/updates_notification.svg @@ -0,0 +1,1515 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/res/drawable-hdpi/ic_stat_notify_updates.png b/res/drawable-hdpi/ic_stat_notify_updates.png new file mode 100644 index 000000000..838b523af Binary files /dev/null and b/res/drawable-hdpi/ic_stat_notify_updates.png differ diff --git a/res/drawable-ldpi/ic_stat_notify_updates.png b/res/drawable-ldpi/ic_stat_notify_updates.png new file mode 100644 index 000000000..6f15a958d Binary files /dev/null and b/res/drawable-ldpi/ic_stat_notify_updates.png differ diff --git a/res/drawable-mdpi/ic_stat_notify_updates.png b/res/drawable-mdpi/ic_stat_notify_updates.png new file mode 100644 index 000000000..28bec3e03 Binary files /dev/null and b/res/drawable-mdpi/ic_stat_notify_updates.png differ diff --git a/res/drawable-xhdpi/ic_stat_notify_updates.png b/res/drawable-xhdpi/ic_stat_notify_updates.png new file mode 100644 index 000000000..276f47c97 Binary files /dev/null and b/res/drawable-xhdpi/ic_stat_notify_updates.png differ diff --git a/res/drawable-xxhdpi/ic_stat_notify_updates.png b/res/drawable-xxhdpi/ic_stat_notify_updates.png new file mode 100644 index 000000000..737c615a1 Binary files /dev/null and b/res/drawable-xxhdpi/ic_stat_notify_updates.png differ diff --git a/src/org/fdroid/fdroid/UpdateService.java b/src/org/fdroid/fdroid/UpdateService.java index 97f6180b6..02b778913 100644 --- a/src/org/fdroid/fdroid/UpdateService.java +++ b/src/org/fdroid/fdroid/UpdateService.java @@ -265,10 +265,7 @@ public class UpdateService extends IntentService implements ProgressListener { Log.d("FDroid", "Notifying "+updates+" updates."); NotificationCompat.Builder mBuilder = new NotificationCompat.Builder( this) - .setSmallIcon(R.drawable.icon) - .setLargeIcon( - BitmapFactory.decodeResource( - getResources(), R.drawable.icon)) + .setSmallIcon(R.drawable.ic_stat_notify_updates) .setAutoCancel(true) .setContentTitle( getString(R.string.fdroid_updates_available));