Add user-agent string to setup options
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / services / FileUploader.java
index 83d8ffd..28b663b 100644 (file)
@@ -574,7 +574,7 @@ public class FileUploader extends Service
                                 new FileDataStorageManager(mLastAccount, getContentResolver());
                         OwnCloudAccount ocAccount = new OwnCloudAccount(mLastAccount, this);
                         mUploadClient = OwnCloudClientManagerFactory.getDefaultSingleton().
-                                getClientFor(ocAccount, this);
+                                getClientFor(ocAccount, this, MainApp.getUserAgent());
                     }
 
                     /// check the existence of the parent folder for the file to upload