Backup favourites

This commit is contained in:
PavelRatushny 2017-09-04 16:35:22 +03:00
parent e082111712
commit 805584b0c9

View file

@ -25,7 +25,7 @@ public class OsmandBackupAgent extends BackupAgentHelper {
SharedPreferencesBackupHelper helper = new SharedPreferencesBackupHelper(this, prefs); SharedPreferencesBackupHelper helper = new SharedPreferencesBackupHelper(this, prefs);
addHelper("osmand.settings", helper); addHelper("osmand.settings", helper);
FileBackupHelper fileBackupHelper = new FileBackupHelper(this, FavouritesDbHelper.FAVOURITE_DB_NAME); FileBackupHelper fileBackupHelper = new FileBackupHelper(this, FavouritesDbHelper.FILE_TO_SAVE);
addHelper("osmand.favorites", fileBackupHelper); addHelper("osmand.favorites", fileBackupHelper);
} }
} }