mtotschnig / MyExpenses

GPL licenced Android Expense Tracking App
http://www.myexpenses.mobi/
GNU General Public License v3.0
848 stars 222 forks source link

"The currently selected folder for backups and exports is not accessible." #1468

Open mtotschnig opened 7 months ago

mtotschnig commented 7 months ago

After restoring a backup, we keep the folder configuration from the backup, which might not work, because, user did not select it via SAF UI, and hence permission is not granted. We should prevent this situation from happening, by checking after restore, if the folder configured in the backup works, if not keep the one configured before backup was restored, or fall back to default folder.