mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Check if account.name is null in OwnCloudClientMap#saveClient
This commit is contained in:
parent
dd0831b9fd
commit
1b3af22b89
@ -105,7 +105,7 @@ public class OwnCloudClientMap {
|
|||||||
// Account Manager
|
// Account Manager
|
||||||
AccountManager ac = AccountManager.get(context.getApplicationContext());
|
AccountManager ac = AccountManager.get(context.getApplicationContext());
|
||||||
|
|
||||||
if (account!= null) {
|
if (account.name != null) {
|
||||||
OwnCloudClient client = mClients.get(account.name);
|
OwnCloudClient client = mClients.get(account.name);
|
||||||
|
|
||||||
Cookie[] cookies =client.getState().getCookies();
|
Cookie[] cookies =client.getState().getCookies();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user