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

Commit 1a2a9877 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

implement method to get remote path from local path and local path from remote path with unit test

parent 8a7b39dd
Loading
Loading
Loading
Loading

android-nc-lib @ 5e679bf0

Original line number Diff line number Diff line
Subproject commit 0b2283e137fa47d0cffd92b1acf55d32281b61da
Subproject commit 5e679bf04650877adec0f9e11a6cb482e70dc162
+0 −1
Original line number Diff line number Diff line
@@ -63,7 +63,6 @@ public class ListRemoteFileOperation_v2 extends RemoteOperation {
        LightReadFolderRemoteOperation operation = new LightReadFolderRemoteOperation("/", DavPropertyName.DEPTH_INFINITY);
        RemoteOperationResult result = operation.execute(ownCloudClient);


        if(result.isSuccess()){

            ArrayList<Object> datas = result.getData();
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ public class ResetService extends Service {
                    result = getApplicationContext().stopService( stopperIntent );
                    Log.d(TAG, "stop InitializerService: "+result);

                    stopperIntent = new Intent(getApplicationContext(), OperationManagerService.class); //@todo try to replace it by stopperIntent.setClassName(getApplicationContext, OperationManagerService.class)
                    stopperIntent = new Intent(getApplicationContext(), OperationManagerService.class);


                    result = getApplicationContext().stopService( stopperIntent );
+0 −1
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ public class GetOCClientTask extends AsyncTask<Object, Void, OwnCloudClient> {
        OwnCloudClient oc = OwnCloudClientFactory.createOwnCloudClient(serverUri, context, true);
        oc.setCredentials(new OwnCloudBasicCredentials(account.name, AccountManager.get(context).getPassword(account) ) );


        return oc;
    }

Loading