mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-08 00:16:09 +00:00
Fixed bug enforcing the creation of new OwnCloudClients unintendedly
This commit is contained in:
parent
0cf2835268
commit
37f4383b07
@ -53,7 +53,7 @@ public class OwnCloudClientMap {
|
|||||||
throws OperationCanceledException, AuthenticatorException,
|
throws OperationCanceledException, AuthenticatorException,
|
||||||
AccountNotFoundException, IOException {
|
AccountNotFoundException, IOException {
|
||||||
|
|
||||||
OwnCloudClient client = mClients.get(account);
|
OwnCloudClient client = mClients.get(account.name);
|
||||||
if (client == null) {
|
if (client == null) {
|
||||||
client = OwnCloudClientFactory.createOwnCloudClient(
|
client = OwnCloudClientFactory.createOwnCloudClient(
|
||||||
account,
|
account,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user