1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Merge branch 'develop' into fix_shared_by_link_for_server_without_uploads

This commit is contained in:
masensio 2015-06-22 14:01:27 +02:00
commit 8f87ad78f7
2 changed files with 4 additions and 2 deletions

View File

@ -232,7 +232,7 @@ public class AccountUtils {
if (client != null) {
String cookiesString = client.getCookiesString();
if (cookiesString != "") {
if (!"".equals(cookiesString)) {
ac.setUserData(savedAccount, Constants.KEY_COOKIES, cookiesString);
// Log_OC.d(TAG, "Saving Cookies: "+ cookiesString );
}

View File

@ -391,7 +391,9 @@ public class RemoteOperationResult implements Serializable {
return "Authenticated with a different account than the one updating";
} else if (mCode == ResultCode.INVALID_CHARACTER_IN_NAME) {
return "The file name contains an forbidden character";
}
} else if (mCode == ResultCode.FILE_NOT_FOUND) {
return "Local file does not exist";
}
return "Operation finished with HTTP status code " + mHttpCode + " (" +
(isSuccess() ? "success" : "fail") + ")";