[Android] Eliminate MediaGroup dependency

Edward Wang git at videolan.org
Tue Nov 5 23:47:19 CET 2013


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Tue Nov  5 16:53:40 2013 -0500| [d8c446fc35bef7110afea5631ae42447366c3adb] | committer: Edward Wang

Eliminate MediaGroup dependency

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

 vlc-android/src/org/videolan/vlc/Media.java |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/Media.java b/vlc-android/src/org/videolan/vlc/Media.java
index 93192c8..754498e 100644
--- a/vlc-android/src/org/videolan/vlc/Media.java
+++ b/vlc-android/src/org/videolan/vlc/Media.java
@@ -214,13 +214,6 @@ public class Media implements Comparable<Media> {
                 another.getTitle().toUpperCase(Locale.getDefault()));
     }
 
-    @Override
-    public boolean equals(Object o) {
-        if (o instanceof MediaGroup || this instanceof MediaGroup)
-            return getTitle().equals(((Media)o).getTitle());
-        return super.equals(o);
-    }
-
     public String getLocation() {
         return mLocation;
     }



More information about the Android mailing list