Trying fix travis fail
authormasensio <masensio@solidgear.es>
Tue, 5 May 2015 07:32:49 +0000 (09:32 +0200)
committermasensio <masensio@solidgear.es>
Tue, 5 May 2015 07:32:49 +0000 (09:32 +0200)
src/com/owncloud/android/utils/CopyTmpFileAsyncTask.java

index 70bf2e9..0a8b06f 100644 (file)
@@ -60,7 +60,7 @@ public class CopyTmpFileAsyncTask  extends AsyncTask<Object, Void, String> {
         if (params.length == 3) {
             Uri uri = (Uri) params[0];
             String filePath = (String) params[1];
-            mIndex = (int) params[2];
+            mIndex = ((Integer) params[2]).intValue();
 
             String fullTempPath = FileStorageUtils.getTemporalPath(mAccountName) + filePath;
             InputStream inputStream = null;