aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/github')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/DownloadFile.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/DownloadFile.java b/app/src/main/java/github/daneren2005/dsub/service/DownloadFile.java
index ac8b44d6..7044410b 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/DownloadFile.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/DownloadFile.java
@@ -379,7 +379,8 @@ public class DownloadFile implements BufferFile {
return "DownloadFile (" + song + ")";
}
- @Override
+ // Don't do this. Causes infinite loop if two instances of same song
+ /*@Override
public boolean equals(Object o) {
if (this == o) {
return true;
@@ -390,7 +391,7 @@ public class DownloadFile implements BufferFile {
DownloadFile downloadFile = (DownloadFile) o;
return Util.equals(this.getSong(), downloadFile.getSong());
- }
+ }*/
private class DownloadTask extends SilentBackgroundTask<Void> {
private MusicService musicService;