s/moveToFirst/moveToNext/

This commit is contained in:
cpfeiffer 2016-03-08 23:30:31 +01:00
parent 9643fa6062
commit 10975feb49
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ public class ActivityDatabaseHandler extends SQLiteOpenHelper implements DBHandl
int colSteps = cursor.getColumnIndex(KEY_STEPS);
int colType = cursor.getColumnIndex(KEY_TYPE);
int colCustomShort = cursor.getColumnIndex(KEY_CUSTOM_SHORT);
while (cursor.moveToFirst()) {
while (cursor.moveToNext()) {
GBActivitySample sample = new GBActivitySample(
provider,
cursor.getInt(colTimeStamp),