[Android] new notification icon
Sébastien Toque
git at videolan.org
Tue Apr 2 20:54:09 CEST 2013
vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Apr 2 20:53:43 2013 +0200| [42da25541ce3f18853301f380e806de2e9303a0c] | committer: Sébastien Toque
new notification icon
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=42da25541ce3f18853301f380e806de2e9303a0c
---
vlc-android/res/drawable-hdpi-v11/ic_stat_vlc.png | Bin 0 -> 478 bytes
vlc-android/res/drawable-hdpi-v9/ic_stat_vlc.png | Bin 0 -> 544 bytes
vlc-android/res/drawable-hdpi/ic_stat_vlc.png | Bin 0 -> 943 bytes
vlc-android/res/drawable-mdpi-v11/ic_stat_vlc.png | Bin 0 -> 339 bytes
vlc-android/res/drawable-mdpi-v9/ic_stat_vlc.png | Bin 0 -> 376 bytes
vlc-android/res/drawable-mdpi/ic_stat_vlc.png | Bin 0 -> 636 bytes
vlc-android/res/drawable-xhdpi-v11/ic_stat_vlc.png | Bin 0 -> 654 bytes
vlc-android/res/drawable-xhdpi-v9/ic_stat_vlc.png | Bin 0 -> 689 bytes
vlc-android/res/drawable-xhdpi/ic_stat_vlc.png | Bin 0 -> 1249 bytes
vlc-android/src/org/videolan/vlc/AudioService.java | 2 +-
10 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/res/drawable-hdpi-v11/ic_stat_vlc.png b/vlc-android/res/drawable-hdpi-v11/ic_stat_vlc.png
new file mode 100644
index 0000000..4a1e339
Binary files /dev/null and b/vlc-android/res/drawable-hdpi-v11/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-hdpi-v9/ic_stat_vlc.png b/vlc-android/res/drawable-hdpi-v9/ic_stat_vlc.png
new file mode 100644
index 0000000..170a0b6
Binary files /dev/null and b/vlc-android/res/drawable-hdpi-v9/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-hdpi/ic_stat_vlc.png b/vlc-android/res/drawable-hdpi/ic_stat_vlc.png
new file mode 100644
index 0000000..21288b3
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-mdpi-v11/ic_stat_vlc.png b/vlc-android/res/drawable-mdpi-v11/ic_stat_vlc.png
new file mode 100644
index 0000000..8c6d019
Binary files /dev/null and b/vlc-android/res/drawable-mdpi-v11/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-mdpi-v9/ic_stat_vlc.png b/vlc-android/res/drawable-mdpi-v9/ic_stat_vlc.png
new file mode 100644
index 0000000..a810457
Binary files /dev/null and b/vlc-android/res/drawable-mdpi-v9/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_stat_vlc.png b/vlc-android/res/drawable-mdpi/ic_stat_vlc.png
new file mode 100644
index 0000000..2ff3a19
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-xhdpi-v11/ic_stat_vlc.png b/vlc-android/res/drawable-xhdpi-v11/ic_stat_vlc.png
new file mode 100644
index 0000000..19a4f62
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi-v11/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-xhdpi-v9/ic_stat_vlc.png b/vlc-android/res/drawable-xhdpi-v9/ic_stat_vlc.png
new file mode 100644
index 0000000..07795a1
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi-v9/ic_stat_vlc.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_stat_vlc.png b/vlc-android/res/drawable-xhdpi/ic_stat_vlc.png
new file mode 100644
index 0000000..b6e8c4f
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_stat_vlc.png differ
diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 0ffadf0..c7264c7 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -488,7 +488,7 @@ public class AudioService extends Service {
try {
// add notification to status bar
NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
- .setSmallIcon(R.drawable.icon)
+ .setSmallIcon(R.drawable.ic_stat_vlc)
.setLargeIcon(AudioUtil.getCover(this, mCurrentMedia, 64))
.setContentTitle(mCurrentMedia.getTitle())
.setTicker(mCurrentMedia.getTitle() + " - " + mCurrentMedia.getArtist())
More information about the Android
mailing list