This commit implements the following features:
- Trash/Archive for deleted entries
- Duress Password (Decoy Vault)
- Advanced Sorting and Usage Insights
- Improved Storage Access Framework (SAF) Integration
The NFC Vault Transfer feature was disabled due to build issues with deprecated APIs.
@ -86,7 +86,7 @@ public class VaultBackupManager {
Log.i(TAG,String.format("Creating backup at %s",fileUri));
Log.i(TAG,String.format("Creating backup at %s",fileUri));
try{
try{
if(!hasPermissionsAt(fileUri)){
if(!hasPermissionsAt(fileUri)){
thrownewVaultBackupPermissionException("No persisted URI permissions");
thrownewVaultBackupPermissionException("Aegis does not have permission to write to the selected backup location. Please select the backup location again.");
@ -116,7 +116,7 @@ public class VaultBackupManager {
Log.i(TAG,String.format("Creating backup at %s: %s",Uri.decode(dir.getUri().toString()),fileInfo.toString()));
Log.i(TAG,String.format("Creating backup at %s: %s",Uri.decode(dir.getUri().toString()),fileInfo.toString()));
if(!hasPermissionsAt(dirUri)){
if(!hasPermissionsAt(dirUri)){
thrownewVaultBackupPermissionException("No persisted URI permissions");
thrownewVaultBackupPermissionException("Aegis does not have permission to write to the selected backup location. Please select the backup location again.");
}
}
// If we create a file with a name that already exists, SAF will append a number
// If we create a file with a name that already exists, SAF will append a number
@ -160,6 +160,27 @@ public class VaultBackupManager {