mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
missing file write
This commit is contained in:
parent
cdf25ac52c
commit
3cb2f1270c
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
|
|||
file.setMimetype(we.contentType());
|
||||
file.setModificationTimestamp(we.modifiedTimesamp());
|
||||
file.setParentId(parentId);
|
||||
getStorageManager().saveFile(file);
|
||||
if (parentId == 0) parentId = file.getFileId();
|
||||
|
||||
if (we.contentType().equals("DIR"))
|
||||
fetchData(getUri().toString() + we.path(), syncResult, file.getFileId());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue