[Android] AudioPlaylistAdapter: remove dead code

Adrien Maglo git at videolan.org
Tue Sep 22 22:19:58 CEST 2015


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue Sep 22 22:19:48 2015 +0200| [67d04491f93ff19b6d0c913783510c3275bb1a77] | committer: Adrien Maglo

AudioPlaylistAdapter: remove dead code

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java
index 5da5de5..571f180 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioPlaylistAdapter.java
@@ -146,13 +146,6 @@ public class AudioPlaylistAdapter extends ArrayAdapter<MediaWrapper> {
         return location;
     }
 
-    public List<String> getLocations() {
-        List<String> locations = new ArrayList<String>();
-        for (int i = 0 ; i < getCount() ; ++i)
-            locations.add(getItem(i).getLocation());
-        return locations;
-    }
-
     public List<MediaWrapper> getMedias() {
         List<MediaWrapper> medias = new ArrayList<MediaWrapper>();
         for (int i = 0 ; i < getCount() ; ++i)



More information about the Android mailing list