Merge branch 'master' of github.com:osmandapp/Osmand
This commit is contained in:
commit
311bb72f1e
1 changed files with 4 additions and 3 deletions
|
@ -357,12 +357,13 @@ public class FavouritesDbHelper {
|
||||||
}
|
}
|
||||||
int back = 1;
|
int back = 1;
|
||||||
String backPrefix = "" + back;
|
String backPrefix = "" + back;
|
||||||
if(back < 10) {
|
|
||||||
backPrefix = "0"+backPrefix;
|
|
||||||
}
|
|
||||||
File firstModified = null;
|
File firstModified = null;
|
||||||
long firstModifiedMin = System.currentTimeMillis();
|
long firstModifiedMin = System.currentTimeMillis();
|
||||||
while(back <= BACKUP_CNT) {
|
while(back <= BACKUP_CNT) {
|
||||||
|
backPrefix = "" + back;
|
||||||
|
if(back < 10) {
|
||||||
|
backPrefix = "0"+backPrefix;
|
||||||
|
}
|
||||||
File bak = new File(fld, "favourites_bak_" + backPrefix +".gpx.bz2");
|
File bak = new File(fld, "favourites_bak_" + backPrefix +".gpx.bz2");
|
||||||
if (!bak.exists()) {
|
if (!bak.exists()) {
|
||||||
return bak;
|
return bak;
|
||||||
|
|
Loading…
Reference in a new issue