mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Change the order to prevent NullPointerExceptions
This commit is contained in:
parent
267c7cfd08
commit
b102d1cdf9
@ -218,7 +218,7 @@ public class AccountUtils {
|
|||||||
|
|
||||||
if (client != null) {
|
if (client != null) {
|
||||||
String cookiesString = client.getCookiesString();
|
String cookiesString = client.getCookiesString();
|
||||||
if (!cookiesString.equals("")) {
|
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 );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user