From 155aa8c088202791c197dcd7cdf44873c7364cba Mon Sep 17 00:00:00 2001 From: Chumva Date: Wed, 25 Jul 2018 15:45:12 +0300 Subject: [PATCH] Fix #5728 --- OsmAnd/src/net/osmand/plus/OsmandBackupAgent.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/OsmandBackupAgent.java b/OsmAnd/src/net/osmand/plus/OsmandBackupAgent.java index cf8baca46f..34e9448c9f 100644 --- a/OsmAnd/src/net/osmand/plus/OsmandBackupAgent.java +++ b/OsmAnd/src/net/osmand/plus/OsmandBackupAgent.java @@ -8,6 +8,7 @@ import android.content.Context; import android.os.ParcelFileDescriptor; import net.osmand.plus.mapmarkers.MapMarkersDbHelper; +import net.osmand.plus.osmedit.OsmBugsDbHelper; import java.io.IOException; import java.util.List; @@ -31,7 +32,8 @@ public class OsmandBackupAgent extends BackupAgentHelper { SharedPreferencesBackupHelper helper = new SharedPreferencesBackupHelper(this, prefs); addHelper("osmand.settings", helper); - FileBackupHelper fileBackupHelper = new FileBackupHelper(this, FavouritesDbHelper.FILE_TO_BACKUP, "../databases/" + MapMarkersDbHelper.DB_NAME); + FileBackupHelper fileBackupHelper = new FileBackupHelper(this, FavouritesDbHelper.FILE_TO_BACKUP, + "../databases/" + MapMarkersDbHelper.DB_NAME, "../databases/" + OsmBugsDbHelper.OSMBUGS_DB_NAME); addHelper("osmand.files", fileBackupHelper); }