Merge branch 'master' of github.com:osmandapp/Osmand
This commit is contained in:
commit
c2aad75037
2 changed files with 2 additions and 3 deletions
|
@ -1780,7 +1780,7 @@
|
|||
|
||||
<string name="osmo_use_https_descr">Brug sikker forbindelse til server</string>
|
||||
<string name="osmo_use_https">Brug HTTPS</string>
|
||||
<string name="home_button">Start</string>
|
||||
<string name="home_button">Hjem</string>
|
||||
<string name="search_for">Søg efter</string>
|
||||
|
||||
<string name="coordinates">Koordinater</string>
|
||||
|
|
|
@ -136,8 +136,7 @@ public class SavingTrackHelper extends SQLiteOpenHelper {
|
|||
if (db != null) {
|
||||
try {
|
||||
Cursor q = db.query(false, TRACK_NAME, new String[0], null, null, null, null, null, null);
|
||||
//Looks like db is created even if user cancels out of "start recording" dialogue, hence also ask if db contains track points at all here
|
||||
boolean has = q.moveToFirst() && (getLastTrackPointTime() > 0L);
|
||||
boolean has = q.moveToFirst();
|
||||
q.close();
|
||||
if (has) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue