|
@@ -73,7 +73,7 @@ public class DataHelper {
|
73
|
73
|
+ "lat < %1$s + 0.005 and lon > %2$s - 0.01 and lon < %2$s + 0.01";
|
74
|
74
|
private static final String JOURNEY_STEPS_QUERY = "journey = %1$s";
|
75
|
75
|
private static final String JOURNEY_START_QUERY = "start = %1$s";
|
76
|
|
- private static final String JOURNEY_BOTH_QUERY = JOURNEY_START_QUERY + " AND end = %1$s";
|
|
76
|
+ private static final String JOURNEY_BOTH_QUERY = JOURNEY_START_QUERY + " AND end = %2$s";
|
77
|
77
|
|
78
|
78
|
private final SQLiteStatement insertLocationStatement, insertJourneyStatement,
|
79
|
79
|
insertJourneyStepStatement, updateLocationStatement,
|