Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aafa83aa authored by narinder Rana's avatar narinder Rana
Browse files

manage missing function

parent fae7dcec
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ public class CreateInitialFolderRemoteOperation extends RemoteOperation {

        //Perfom request
        CreateFolderRemoteOperation createFolderOperation = new CreateFolderRemoteOperation(mRemotePath, mCreateFullPath);
        RemoteOperationResult createOperationResult  = createFolderOperation.execute(client, true);
        RemoteOperationResult createOperationResult  = createFolderOperation.execute(client);

        if(createOperationResult.isSuccess() || createOperationResult.getCode() == RemoteOperationResult.ResultCode.FOLDER_ALREADY_EXISTS ){
            if(DbHelper.insertSyncedFolder(mSyncedFolder, mContext) >= 0 ) {
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ class DownloadFileRemoteOperation extends RemoteOperation {
    private int downloadFile(OwnCloudClient client, File targetFile) throws IOException, OperationCancelledException {
        int status = -1;
        boolean savedFile = false;
        mGet = new GetMethod(client.getWebdavUri() + WebdavUtils.encodePath(mRemotePath));
        mGet = new GetMethod(client.getDavUri() + WebdavUtils.encodePath(mRemotePath));

        FileOutputStream fos = null;
        try {