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

Commit 6f3b25af authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury Committed by Vincent Bourgmayer
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent 95af410e
Loading
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -248,8 +248,13 @@ public class SynchronizationService extends Service implements OnRemoteOperation
    public void onRemoteOperationFinish(RemoteOperation callerOperation, RemoteOperationResult result) {
        Timber.i("onRemoteOperationFinish()");
        if (callerOperation instanceof RemoveFileOperation && result.isSuccess()) {
            DbHelper.manageSyncedFileStateDB( ((RemoveFileOperation) callerOperation).getSyncedFileState(),
                    "DELETE", this);
            DbHelper
                .manageSyncedFileStateDB(
                    ((RemoveFileOperation) callerOperation)
                        .getSyncedFileState(),
                    "DELETE", 
                    this
                );
        } else {
            final String operationClassName = callerOperation.getClass().getSimpleName();
            switch (result.getCode()) {