<div dir="ltr">LGTM<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 27, 2016 at 9:06 PM Marc K <<a href="mailto:morckx@gmail.com">morckx@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: morckx <<a href="mailto:morckx@gmail.com" class="gmail_msg" target="_blank">morckx@gmail.com</a>><br class="gmail_msg">
<br class="gmail_msg">
---<br class="gmail_msg">
vlc-android/src/org/videolan/vlc/PlaybackService.java | 6 +++---<br class="gmail_msg">
1 file changed, 3 insertions(+), 3 deletions(-)<br class="gmail_msg">
<br class="gmail_msg">
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java<br class="gmail_msg">
index c9fe9bd..dcc8c2f 100644<br class="gmail_msg">
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java<br class="gmail_msg">
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java<br class="gmail_msg">
@@ -1597,7 +1597,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo<br class="gmail_msg">
@MainThread<br class="gmail_msg">
public Bitmap getCover() {<br class="gmail_msg">
if (hasCurrentMedia()) {<br class="gmail_msg">
- return AudioUtil.getCover(PlaybackService.this, getCurrentMedia(), 512);<br class="gmail_msg">
+ return AudioUtil.getCoverFromMemCache(PlaybackService.this, getCurrentMedia(), 512);<br class="gmail_msg">
}<br class="gmail_msg">
return null;<br class="gmail_msg">
}<br class="gmail_msg">
@@ -1605,7 +1605,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo<br class="gmail_msg">
@MainThread<br class="gmail_msg">
public Bitmap getCoverPrev() {<br class="gmail_msg">
if (mPrevIndex != -1)<br class="gmail_msg">
- return AudioUtil.getCover(PlaybackService.this, mMediaList.getMedia(mPrevIndex), 64);<br class="gmail_msg">
+ return AudioUtil.getCoverFromMemCache(PlaybackService.this, mMediaList.getMedia(mPrevIndex), 64);<br class="gmail_msg">
else<br class="gmail_msg">
return null;<br class="gmail_msg">
}<br class="gmail_msg">
@@ -1613,7 +1613,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo<br class="gmail_msg">
@MainThread<br class="gmail_msg">
public Bitmap getCoverNext() {<br class="gmail_msg">
if (mNextIndex != -1)<br class="gmail_msg">
- return AudioUtil.getCover(PlaybackService.this, mMediaList.getMedia(mNextIndex), 64);<br class="gmail_msg">
+ return AudioUtil.getCoverFromMemCache(PlaybackService.this, mMediaList.getMedia(mNextIndex), 64);<br class="gmail_msg">
else<br class="gmail_msg">
return null;<br class="gmail_msg">
}<br class="gmail_msg">
--<br class="gmail_msg">
2.9.3<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Android mailing list<br class="gmail_msg">
<a href="mailto:Android@videolan.org" class="gmail_msg" target="_blank">Android@videolan.org</a><br class="gmail_msg">
<a href="https://mailman.videolan.org/listinfo/android" rel="noreferrer" class="gmail_msg" target="_blank">https://mailman.videolan.org/listinfo/android</a><br class="gmail_msg">
</blockquote></div></div>