mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Fix missing path separator in folder copy target (#883)
* Fix missing path separator in folder copy target * Update to use direct File constructor
This commit is contained in:
parent
f5a581ccce
commit
9399762ed9
1 changed files with 1 additions and 2 deletions
|
@ -228,9 +228,8 @@ public class ShareActivity extends SyncthingActivity
|
||||||
boolean isError = false;
|
boolean isError = false;
|
||||||
for (Map.Entry<Uri, String> entry : mFiles.entrySet()) {
|
for (Map.Entry<Uri, String> entry : mFiles.entrySet()) {
|
||||||
InputStream inputStream = null;
|
InputStream inputStream = null;
|
||||||
String outPath = mFolder.path + entry.getValue();
|
|
||||||
try {
|
try {
|
||||||
File outFile = new File(outPath);
|
File outFile = new File(mFolder.path, entry.getValue());
|
||||||
if (outFile.isFile()) {
|
if (outFile.isFile()) {
|
||||||
mIgnored++;
|
mIgnored++;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue