Restore favourites after reinstall

This commit is contained in:
PavelRatushny 2017-09-05 15:34:16 +03:00
parent 805584b0c9
commit fe261843ca

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.FILE_TO_SAVE); FileBackupHelper fileBackupHelper = new FileBackupHelper(this, FavouritesDbHelper.FILE_TO_BACKUP);
addHelper("osmand.favorites", fileBackupHelper); addHelper(FavouritesDbHelper.FILE_TO_BACKUP, fileBackupHelper);
} }
} }