Add ids to array in order in getAllSongIdsWith

This commit is contained in:
Christopher Eby 2010-04-11 00:27:32 -05:00
parent b98b107499
commit 95fcbaff32

View File

@ -130,10 +130,10 @@ public class Song implements Parcelable {
return null;
long[] songs = new long[count];
while (--count != -1) {
for (int i = 0; i != count; ++i) {
if (!cursor.moveToNext())
return null;
songs[count] = cursor.getInt(0);
songs[i] = cursor.getInt(0);
}
cursor.close();