X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/b22e231909c285f47998f5e13cd090ba07fb0404..a99a28cc61d48eca63803c3d661ea1be14f99aec:/src/com/owncloud/android/operations/common/SyncOperation.java diff --git a/src/com/owncloud/android/operations/common/SyncOperation.java b/src/com/owncloud/android/operations/common/SyncOperation.java index 86b433b8..3d917d2a 100644 --- a/src/com/owncloud/android/operations/common/SyncOperation.java +++ b/src/com/owncloud/android/operations/common/SyncOperation.java @@ -20,16 +20,15 @@ package com.owncloud.android.operations.common; -import com.owncloud.android.MainApp; +import android.content.Context; +import android.os.Handler; + import com.owncloud.android.datamodel.FileDataStorageManager; 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 android.content.Context; -import android.os.Handler; - /** * Operation which execution involves both interactions with an ownCloud server and @@ -70,7 +69,7 @@ public abstract class SyncOperation extends RemoteOperation { "storage manager for a NULL account"); } mStorageManager = storageManager; - return super.execute(mStorageManager.getAccount(), context, getUserAgent()); + return super.execute(mStorageManager.getAccount(), context); } @@ -90,7 +89,7 @@ public abstract class SyncOperation extends RemoteOperation { throw new IllegalArgumentException("Trying to execute a sync operation with a " + "NULL storage manager"); mStorageManager = storageManager; - return super.execute(client, MainApp.getUserAgent()); + return super.execute(client); } @@ -143,7 +142,7 @@ public abstract class SyncOperation extends RemoteOperation { "with a NULL storage manager"); } mStorageManager = storageManager; - return super.execute(client, MainApp.getUserAgent(), listener, listenerHandler); + return super.execute(client, listener, listenerHandler); }