From a2e87d3670db2236487a323828090ab29721d66e Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Mon, 21 Nov 2016 15:42:07 +0100 Subject: [PATCH] fix typo --- src/ch/blinkenlights/android/vanilla/PlayCountsHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch/blinkenlights/android/vanilla/PlayCountsHelper.java b/src/ch/blinkenlights/android/vanilla/PlayCountsHelper.java index b96067f3..b65c6fb2 100644 --- a/src/ch/blinkenlights/android/vanilla/PlayCountsHelper.java +++ b/src/ch/blinkenlights/android/vanilla/PlayCountsHelper.java @@ -46,7 +46,7 @@ public class PlayCountsHelper { Cursor cursor = MediaLibrary.queryLibrary(context, MediaLibrary.TABLE_SONGS, new String[]{ MediaLibrary.SongColumns._ID }, MediaLibrary.SongColumns.PLAYCOUNT+" > 0", null, MediaLibrary.SongColumns.PLAYCOUNT+" DESC"); while (cursor.moveToNext() && limit > 0) { payload.add(cursor.getLong(0)); - limit --; + limit--; } cursor.close(); return payload;