mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 13:47:41 +00:00
Create destination directory in case it doesn't exist
This commit is contained in:
parent
e94959f9c3
commit
92300a7d63
@ -93,6 +93,11 @@ public class ShareSettingsActivity extends PluginSettingsActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
getDefaultDestinationDirectory().mkdirs();
|
||||||
|
} catch(Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
return DocumentFile.fromFile(getDefaultDestinationDirectory());
|
return DocumentFile.fromFile(getDefaultDestinationDirectory());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user