Merge pull request #4407 from osmandapp/favourites_backup

Favourites backup
This commit is contained in:
vshcherb 2017-09-06 10:18:41 +02:00 committed by GitHub
commit dc55d2880a

View file

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