From: masensio Date: Wed, 25 Feb 2015 08:09:41 +0000 (+0100) Subject: Bug fixed: Upload fails X-Git-Tag: oc-android-1.7.1_signed^2~40^2 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/01fc29c892bf5d1cb7dc1f8094d91a1a6a96a6bf?hp=--cc Bug fixed: Upload fails --- 01fc29c892bf5d1cb7dc1f8094d91a1a6a96a6bf diff --git a/owncloud-android-library b/owncloud-android-library index c2b5ddd2..942971a2 160000 --- a/owncloud-android-library +++ b/owncloud-android-library @@ -1 +1 @@ -Subproject commit c2b5ddd2364f53201e7df6210ce04bc6bf4a2bbd +Subproject commit 942971a202f7404b135b26795c1b545c390a023f diff --git a/src/com/owncloud/android/operations/UploadFileOperation.java b/src/com/owncloud/android/operations/UploadFileOperation.java index 3c7917e8..bf0d0601 100644 --- a/src/com/owncloud/android/operations/UploadFileOperation.java +++ b/src/com/owncloud/android/operations/UploadFileOperation.java @@ -304,7 +304,7 @@ public class UploadFileOperation extends RemoteOperation { } } } - localCopyPassed = result.isSuccess(); + localCopyPassed = (result == null); /// perform the upload if ( mChunked &&