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:
parent
808c4cefc3
commit
8669460088
1515
media/updates_notification.svg
Normal file
1515
media/updates_notification.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 49 KiB |
BIN
res/drawable-hdpi/ic_stat_notify_updates.png
Normal file
BIN
res/drawable-hdpi/ic_stat_notify_updates.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 893 B |
BIN
res/drawable-ldpi/ic_stat_notify_updates.png
Normal file
BIN
res/drawable-ldpi/ic_stat_notify_updates.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 489 B |
BIN
res/drawable-mdpi/ic_stat_notify_updates.png
Normal file
BIN
res/drawable-mdpi/ic_stat_notify_updates.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 606 B |
BIN
res/drawable-xhdpi/ic_stat_notify_updates.png
Normal file
BIN
res/drawable-xhdpi/ic_stat_notify_updates.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xxhdpi/ic_stat_notify_updates.png
Normal file
BIN
res/drawable-xxhdpi/ic_stat_notify_updates.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user