mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed build with latest SDK
This commit is contained in:
parent
f443a73969
commit
994344a511
1 changed files with 2 additions and 2 deletions
|
|
@ -345,9 +345,9 @@ class SingleSignOnViewModel
|
|||
onErrorEvent.postValue(Event("Invalid access token expiration time"))
|
||||
} else {
|
||||
val accessToken =
|
||||
Factory.instance().createBearerToken(authState.accessToken, expire / 1000) // Linphone timestamps are in seconds
|
||||
Factory.instance().createBearerToken(authState.accessToken.orEmpty(), expire / 1000) // Linphone timestamps are in seconds
|
||||
val refreshToken =
|
||||
Factory.instance().createBearerToken(authState.refreshToken, expire / 1000) // Linphone timestamps are in seconds
|
||||
Factory.instance().createBearerToken(authState.refreshToken.orEmpty(), expire / 1000) // Linphone timestamps are in seconds
|
||||
|
||||
val authInfo = coreContext.bearerAuthInfoPendingPasswordUpdate
|
||||
if (authInfo == null) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue