import com.google.android.material.snackbar.Snackbar;
import com.google.android.material.textfield.TextInputLayout;
import com.google.android.material.snackbar.Snackbar;
import com.google.android.material.textfield.TextInputLayout;
import com.stoutner.privacybrowser.R;
import com.stoutner.privacybrowser.dialogs.StoragePermissionDialog;
import com.stoutner.privacybrowser.helpers.DownloadLocationHelper;
import com.stoutner.privacybrowser.R;
import com.stoutner.privacybrowser.dialogs.StoragePermissionDialog;
import com.stoutner.privacybrowser.helpers.DownloadLocationHelper;
DownloadLocationHelper downloadLocationHelper = new DownloadLocationHelper();
// Get the default file path.
DownloadLocationHelper downloadLocationHelper = new DownloadLocationHelper();
// Get the default file path.
// Set the other default file paths.
String defaultPasswordEncryptionFilePath = defaultFilePath + ".aes";
// Set the other default file paths.
String defaultPasswordEncryptionFilePath = defaultFilePath + ".aes";
// Set the initial export file name according to the encryption type.
if (encryptionSpinner.getSelectedItemPosition() == NO_ENCRYPTION) { // No encryption is selected.
// Set the initial export file name according to the encryption type.
if (encryptionSpinner.getSelectedItemPosition() == NO_ENCRYPTION) { // No encryption is selected.
// Delete the temporary unencrypted export file if it exists.
if (temporaryUnencryptedExportFile.exists()) {
// Delete the temporary unencrypted export file if it exists.
if (temporaryUnencryptedExportFile.exists()) {
// Get the export and temporary unencrypted export files.
File exportFile = new File(exportFileString);
// Get the export and temporary unencrypted export files.
File exportFile = new File(exportFileString);