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

Commit 081c88ea authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

adapt many class to new nc_android_lib

parent 55541cb0
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
      <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
      <module fileurl="file://$PROJECT_DIR$/eDrive.iml" filepath="$PROJECT_DIR$/eDrive.iml" />
      <module fileurl="file://$PROJECT_DIR$/android-nc-lib/ncLib.iml" filepath="$PROJECT_DIR$/android-nc-lib/ncLib.iml" />
      <module fileurl="file://$PROJECT_DIR$/android-nc-lib/ncLib.iml" filepath="$PROJECT_DIR$/android-nc-lib/ncLib.iml" />
    </modules>
  </component>
</project>
 No newline at end of file
+2 −3
Original line number Diff line number Diff line
@@ -9,8 +9,7 @@
To disable All the synchronisation, go into your account and disable BOTH: "application settings" AND "Photos and videos"

#### Actu:
Fix account's deletion
Fix disabled sync in account's settings: I update DB, so it might cause issue after update. One solution in this case is to remove your account and add it again.
In Branch data_reduction: Added the Android-NC-Libray as a submodule and from repo on this Gitlab instance. This branch is a next node on eelo-0.2 branch.

Check the [wiki](https://gitlab.e.foundation/e/apps/eDrive/wikis/home) for more information

@@ -18,7 +17,7 @@ Check the [wiki](https://gitlab.e.foundation/e/apps/eDrive/wikis/home) for more
This is the current pending goal List:

+ Handle lack of space localy
+ Issue # 0 : apps crash if request are too long and fails because of that
+ Issue # 0 : SSL socket timeout exception not handled
+ Add Unit test
+ ScheduleInitialization while it hasn't run completely or user hasn't disable both sync type.

+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ import com.owncloud.android.lib.common.operations.OnRemoteOperationListener;
import com.owncloud.android.lib.common.operations.RemoteOperation;
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
import com.owncloud.android.lib.resources.files.FileUtils;
import com.owncloud.android.lib.resources.files.RemoteFile;
import com.owncloud.android.lib.resources.files.model.RemoteFile;

import java.io.File;
import java.io.FileFilter;
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ import com.owncloud.android.lib.common.OwnCloudClient;
import com.owncloud.android.lib.common.operations.OnRemoteOperationListener;
import com.owncloud.android.lib.common.operations.RemoteOperation;
import com.owncloud.android.lib.common.operations.RemoteOperationResult;
import com.owncloud.android.lib.resources.files.RemoveRemoteFileOperation;
import com.owncloud.android.lib.resources.files.RemoveFileRemoteOperation;

import java.lang.ref.WeakReference;
import java.util.ArrayList;
@@ -198,7 +198,7 @@ public class OperationManagerService extends Service implements OnRemoteOperatio
            this.startWork(threadIndex);
        }

        if(operation instanceof RemoveRemoteFileOperation){
        if(operation instanceof RemoveFileRemoteOperation){
            if( result.isSuccess() ) {
                DbHelper.manageSyncedFileStateDB( ( ( RemoveFileOperation ) operation ).getSyncedFileState(),
                        "DELETE", this);