mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-08 00:16:09 +00:00
Merge branch 'develop' into fix_shared_by_link_for_server_without_uploads
This commit is contained in:
commit
8f87ad78f7
@ -232,7 +232,7 @@ public class AccountUtils {
|
|||||||
|
|
||||||
if (client != null) {
|
if (client != null) {
|
||||||
String cookiesString = client.getCookiesString();
|
String cookiesString = client.getCookiesString();
|
||||||
if (cookiesString != "") {
|
if (!"".equals(cookiesString)) {
|
||||||
ac.setUserData(savedAccount, Constants.KEY_COOKIES, cookiesString);
|
ac.setUserData(savedAccount, Constants.KEY_COOKIES, cookiesString);
|
||||||
// Log_OC.d(TAG, "Saving Cookies: "+ cookiesString );
|
// Log_OC.d(TAG, "Saving Cookies: "+ cookiesString );
|
||||||
}
|
}
|
||||||
|
@ -391,6 +391,8 @@ public class RemoteOperationResult implements Serializable {
|
|||||||
return "Authenticated with a different account than the one updating";
|
return "Authenticated with a different account than the one updating";
|
||||||
} else if (mCode == ResultCode.INVALID_CHARACTER_IN_NAME) {
|
} else if (mCode == ResultCode.INVALID_CHARACTER_IN_NAME) {
|
||||||
return "The file name contains an forbidden character";
|
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 + " (" +
|
return "Operation finished with HTTP status code " + mHttpCode + " (" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user