Fixed ContentProviderUtils tests.

Account for using a real (non-empty) database and thus non-predictable object ids.
This commit is contained in:
Dennis Guse
2019-09-03 21:28:29 +02:00
parent 57930a8d86
commit 0f311e062e
3 changed files with 67 additions and 41 deletions
@@ -851,8 +851,7 @@ public class ContentProviderUtilsImpl implements ContentProviderUtils {
}
@Override
public Cursor getTrackPointCursor(
long trackId, long startTrackPointId, int maxLocations, boolean descending) {
public Cursor getTrackPointCursor(long trackId, long startTrackPointId, int maxLocations, boolean descending) {
if (trackId < 0) {
return null;
}