Move away from deprecated Environment external file access API.

This commit is contained in:
Anton Chekulaev
2020-09-04 17:27:57 +10:00
parent 5e86b253a8
commit 8ebdbf2af7
13 changed files with 115 additions and 139 deletions

View File

@@ -77,7 +77,7 @@ public class BackupDialog {
.setPositiveButton(R.string.BackupDialog_delete_backups_statement, (dialog, which) -> {
BackupPassphrase.set(context, null);
TextSecurePreferences.setBackupEnabled(context, false);
BackupUtil.deleteAllBackups();
BackupUtil.deleteAllBackups(context);
preference.setChecked(false);
})
.create()