Switch to proper updates notification iconography

Following http://developer.android.com/design/style/iconography.html

Original design and graphics by mray
This commit is contained in:
Daniel Martí 2013-10-22 14:55:50 +02:00
parent 808c4cefc3
commit 8669460088
7 changed files with 1516 additions and 4 deletions

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

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