[Android] Remove dead code

Geoffrey Métais git at videolan.org
Fri Jan 26 12:08:17 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 25 18:00:27 2018 +0100| [2df66740c9e222bdd5e22b937ae8d8f5a1539052] | committer: Geoffrey Métais

Remove dead code

> https://code.videolan.org/videolan/vlc-android/commit/2df66740c9e222bdd5e22b937ae8d8f5a1539052
---

 .../src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java       | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
index 87de98295..f2b05ad92 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioAlbumsSongsFragment.java
@@ -38,7 +38,6 @@ import android.view.View;
 import android.view.ViewGroup;
 import android.widget.Filter;
 
-import org.videolan.medialibrary.Medialibrary;
 import org.videolan.medialibrary.media.Album;
 import org.videolan.medialibrary.media.Artist;
 import org.videolan.medialibrary.media.Genre;
@@ -66,7 +65,6 @@ public class AudioAlbumsSongsFragment extends BaseAudioBrowser implements SwipeR
 
     private final static String TAG = "VLC/AudioAlbumsSongsFragment";
 
-    private Medialibrary mMediaLibrary;
     protected Handler mHandler = new Handler(Looper.getMainLooper());
 
     private SwipeRefreshLayout mSwipeRefreshLayout;
@@ -93,7 +91,6 @@ public class AudioAlbumsSongsFragment extends BaseAudioBrowser implements SwipeR
         if (savedInstanceState == null)
             AudioBrowserAdapter.sMediaComparator.setSortDefault();
 
-        mMediaLibrary = VLCApplication.getMLInstance();
         mItem = (MediaLibraryItem) (savedInstanceState != null ?
                             savedInstanceState.getParcelable(AudioBrowserFragment.TAG_ITEM) :
                             getArguments().getParcelable(AudioBrowserFragment.TAG_ITEM));



More information about the Android mailing list