Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-04-16 21:49:07 +02:00
commit cb2e3ba243

View file

@ -143,7 +143,7 @@ public class SavingTrackHelper extends SQLiteOpenHelper {
return true; return true;
} }
q = db.query(false, POINT_NAME, new String[0], null, null, null, null, null, null); 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(); q.close();
if (has) { if (has) {
return true; return true;