always check LastTrackPointTime

This commit is contained in:
sonora 2015-04-16 21:48:47 +02:00
parent 81eba898d7
commit daee25ec42

View file

@ -143,7 +143,7 @@ public class SavingTrackHelper extends SQLiteOpenHelper {
return true;
}
q = db.query(false, POINT_NAME, new String[0], null, null, null, null, null, null);
has = q.moveToFirst();
has = q.moveToFirst() && (getLastTrackPointTime() > 0L);
q.close();
if (has) {
return true;