Rename Song.populate to Song.query

This commit is contained in:
Christopher Eby committed 2010-05-18 22:16:33 -05:00
1 parent b878e1aebe
commit 1f2f9d5d86
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -560,7 +560,7 @@ public final class PlaybackService extends Service implements Handler.Callback,
Log.e("VanillaMusic", "MediaPlayer error: " + what + " " + extra);
mMediaPlayer.reset();
Song song = getSong(+1);
if (song != null && !song.populate(true))
if (song != null && !song.query(true))
setFlag(FLAG_NO_MEDIA);
else
mHandler.sendEmptyMessage(TRACK_CHANGED);
+1 -1
View File
@@ -135,7 +135,7 @@ public class Song implements Parcelable {
* @param force Query even if fields have already been populated
* @return true if fields have been populated, false otherwise
*/
public boolean populate(boolean force)
public boolean query(boolean force)
{
if (path != null && !force)
return true;
+2 -2
View File
@@ -318,9 +318,9 @@ public final class SongTimeline {
}
}
if (!song.populate(false)) {
if (!song.query(false)) {
song.randomize();
if (!song.populate(false))
if (!song.query(false))
return null;
}