|
|
@ -1767,6 +1767,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
|
|
|
private static Intent getIntentExport() {
|
|
|
|
private static Intent getIntentExport() {
|
|
|
|
Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT);
|
|
|
|
Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT);
|
|
|
|
intent.addCategory(Intent.CATEGORY_OPENABLE);
|
|
|
|
intent.addCategory(Intent.CATEGORY_OPENABLE);
|
|
|
|
|
|
|
|
intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION);
|
|
|
|
intent.setType("*/*");
|
|
|
|
intent.setType("*/*");
|
|
|
|
intent.putExtra(Intent.EXTRA_TITLE, "fairemail_" +
|
|
|
|
intent.putExtra(Intent.EXTRA_TITLE, "fairemail_" +
|
|
|
|
new SimpleDateFormat("yyyyMMdd").format(new Date().getTime()) + ".backup");
|
|
|
|
new SimpleDateFormat("yyyyMMdd").format(new Date().getTime()) + ".backup");
|
|
|
|