Merging to head

This commit is contained in:
Rodrigo Damazio
2011-06-27 05:15:32 -03:00
parent eada19f516
commit b9b39a24f7
10 changed files with 35 additions and 16 deletions
@@ -846,7 +846,7 @@ public class MyTracksProviderUtilsImpl implements MyTracksProviderUtils {
@Override
public Cursor getLocationsCursor(long trackId, long minTrackPointId,
int maxLocations, boolean descending) {
if (trackId < 0 || maxLocations < 1) {
if (trackId < 0) {
return null;
}
@@ -870,7 +870,7 @@ public class MyTracksProviderUtilsImpl implements MyTracksProviderUtils {
@Override
public Cursor getWaypointsCursor(long trackId, long minWaypointId,
int maxWaypoints) {
if (trackId < 0 || maxWaypoints < 1) {
if (trackId < 0) {
return null;
}