Fix song.hashCode() to work on Android 4.x devices.
Older android releases do not implement java.lang.Long.hashCode.
This commit is contained in:
parent
7fa8833e20
commit
92a23a09d5
@ -303,6 +303,6 @@ public class Song implements Comparable<Song> {
|
||||
*/
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Long.hashCode(id);
|
||||
return Long.valueOf(id).hashCode();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user