OSDN Git Service

Eleven: Add Section Headers
[android-x86/packages-apps-Eleven.git] / src / com / cyngn / eleven / loaders / QueueLoader.java
index 3c4491c..7139d05 100644 (file)
@@ -74,8 +74,11 @@ public class QueueLoader extends WrappedAsyncTaskLoader<List<Song>> {
                 // Convert the duration into seconds
                 final int durationInSecs = (int) duration / 1000;
 
+                // Copy the year
+                final int year = mCursor.getInt(5);
+
                 // Create a new song
-                final Song song = new Song(id, songName, artist, album, durationInSecs);
+                final Song song = new Song(id, songName, artist, album, durationInSecs, year);
 
                 // Add everything up
                 mSongList.add(song);