Add user-agent string to setup options
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / services / FileDownloader.java
index 9bf7f30..9d81fc4 100644 (file)
@@ -466,7 +466,7 @@ public class FileDownloader extends Service
                     // of update
                     OwnCloudAccount ocAccount = new OwnCloudAccount(mCurrentAccount, this);
                     mDownloadClient = OwnCloudClientManagerFactory.getDefaultSingleton().
-                            getClientFor(ocAccount, this);
+                            getClientFor(ocAccount, this, MainApp.getUserAgent());
 
 
                     /// perform the download