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