[Android] remove dead code

Geoffrey Métais git at videolan.org
Fri Apr 22 17:26:18 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Apr 21 17:13:59 2016 +0200| [289ed19c375c78d0897076975a3874b3d6bc6f0e] | committer: Geoffrey Métais

remove dead code

> https://code.videolan.org/videolan/vlc-android/commit/289ed19c375c78d0897076975a3874b3d6bc6f0e
---

 vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java b/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java
index e64cd44..1869f31 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java
@@ -57,7 +57,6 @@ public class CardPresenter extends Presenter {
     private Resources mRes;
     private static int CARD_WIDTH;
     private static int CARD_HEIGHT = 0;
-    private static MediaDatabase sMediaDatabase = MediaDatabase.getInstance();
     private static Drawable sDefaultCardImage;
     private static Handler sHandler = new Handler(Looper.getMainLooper());
 
@@ -77,10 +76,6 @@ public class CardPresenter extends Presenter {
             mCardView = (ImageCardView) view;
         }
 
-        public ImageCardView getCardView() {
-            return mCardView;
-        }
-
         protected void updateCardViewImage(MediaWrapper mediaWrapper) {
             mCardView.getMainImageView().setScaleType(ImageView.ScaleType.FIT_CENTER);
             if (!TextUtils.isEmpty(mediaWrapper.getArtworkURL()) && mediaWrapper.getArtworkURL().startsWith("http")) {



More information about the Android mailing list