mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 16:07:30 +00:00
commit
c92d7f6a32
@ -664,7 +664,7 @@ public class SecureSMS extends ListActivity {
|
|||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
switch (task) {
|
switch (task) {
|
||||||
case TASK_EXPORT: ApplicationExporter.exoprtToSd(SecureSMS.this); break;
|
case TASK_EXPORT: ApplicationExporter.exportToSd(SecureSMS.this); break;
|
||||||
case TASK_IMPORT: ApplicationExporter.importFromSd(SecureSMS.this); break;
|
case TASK_IMPORT: ApplicationExporter.importFromSd(SecureSMS.this); break;
|
||||||
}
|
}
|
||||||
} catch (NoExternalStorageException e) {
|
} catch (NoExternalStorageException e) {
|
||||||
|
@ -107,7 +107,7 @@ public class ApplicationExporter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void exoprtToSd(Context context) throws NoExternalStorageException, IOException {
|
public static void exportToSd(Context context) throws NoExternalStorageException, IOException {
|
||||||
verifyExternalStorageForExport();
|
verifyExternalStorageForExport();
|
||||||
exportDirectory(context, "");
|
exportDirectory(context, "");
|
||||||
// exportDirectory(context, "databases");
|
// exportDirectory(context, "databases");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user