[Android] BitmapUtil: remove one Context

Jean-Baptiste Kempf git at videolan.org
Sat May 23 17:39:02 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 17:33:09 2015 +0200| [1ab053afa45841a9699303763058488e0f34131a] | committer: Jean-Baptiste Kempf

BitmapUtil: remove one Context

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

 vlc-android/src/org/videolan/vlc/util/BitmapUtil.java |    1 -
 1 file changed, 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/util/BitmapUtil.java b/vlc-android/src/org/videolan/vlc/util/BitmapUtil.java
index 6879029..ea8ec99 100644
--- a/vlc-android/src/org/videolan/vlc/util/BitmapUtil.java
+++ b/vlc-android/src/org/videolan/vlc/util/BitmapUtil.java
@@ -95,7 +95,6 @@ public class BitmapUtil {
                  * serving the file from the database and
                  * adding it to the memcache for later use.
                  */
-                Context c = VLCApplication.getAppContext();
                 picture = readCoverBitmap(media.getArtworkURL());
                 if (picture == null)
                     picture = MediaDatabase.getInstance().getPicture(media.getLocation());



More information about the Android mailing list