Restore favourites after reinstall
This commit is contained in:
parent
805584b0c9
commit
fe261843ca
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue