mirror of
https://github.com/owncloud/android-library.git
synced 2025-07-23 01:45:50 +00:00
Use the same ownCloudClient across the whole login process
This commit is contained in:
parent
2a23a1c773
commit
1194b9a412
@ -43,10 +43,4 @@ class OCServerInfoService : ServerInfoService {
|
||||
client: OwnCloudClient
|
||||
): RemoteOperationResult<OwnCloudVersion> =
|
||||
GetRemoteStatusOperation().execute(client)
|
||||
|
||||
private fun createClientFromPath(path: String): OwnCloudClient {
|
||||
val client = OwnCloudClient(Uri.parse(path)).apply { credentials = getAnonymousCredentials() }
|
||||
OwnCloudClientFactory.retriveCookisFromMiddleware(client)
|
||||
return client
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user