[Android] simplify

Sébastien Toque git at videolan.org
Fri Oct 19 20:43:40 CEST 2012


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Fri Oct 19 20:35:50 2012 +0200| [64f37bcf38f8e59f0b8c7868508e2990ac62a8be] | committer: Sébastien Toque

simplify

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=64f37bcf38f8e59f0b8c7868508e2990ac62a8be
---

 vlc-android/src/org/videolan/vlc/AudioService.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 3a33003..622608d 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -899,7 +899,7 @@ public class AudioService extends Service {
         }
         i.putExtra("isplaying", mLibVLC.isPlaying());
 
-        Bitmap cover = mCurrentMedia != null ? Util.scaleDownBitmap(context, getCover(), 64) : null;
+        Bitmap cover = mCurrentMedia != null ? AudioUtil.getCover(this, mCurrentMedia, 64) : null;
         i.putExtra("cover", cover);
 
         sendBroadcast(i);



More information about the Android mailing list