Remove dead code
This commit is contained in:
parent
17ea717535
commit
b038af1ba2
@ -286,27 +286,6 @@ public class Song implements Parcelable {
|
||||
albumId = cursor.getLong(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Copies the fields from the given Song to this Song.
|
||||
*
|
||||
* @param other The Song to copy from.
|
||||
*/
|
||||
public void copy(Song other)
|
||||
{
|
||||
if (other == null) {
|
||||
id = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
id = other.id;
|
||||
albumId = other.albumId;
|
||||
path = other.path;
|
||||
title = other.title;
|
||||
album = other.album;
|
||||
artist = other.artist;
|
||||
flags = other.flags;
|
||||
}
|
||||
|
||||
/**
|
||||
* Query the MediaStore, if necessary, to fill this Song's fields.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user