missing file write

This commit is contained in:
Bartek Przybylski 2012-04-29 00:39:50 +02:00
parent cdf25ac52c
commit 3cb2f1270c

View file

@ -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());
}