mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Merge pull request #67 from owncloud/fix-code-that-never-worked
Use .equals instead of !=
This commit is contained in:
commit
08831dfef5
@ -218,7 +218,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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user