mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed Assistant started when setting & applying remote provisioning URI from advanced params
This commit is contained in:
parent
690f6fa4c2
commit
4f10a2d1fc
1 changed files with 2 additions and 0 deletions
|
|
@ -242,6 +242,7 @@ class MainViewModel @UiThread constructor() : ViewModel() {
|
|||
@WorkerThread
|
||||
override fun onDefaultAccountChanged(core: Core, account: Account?) {
|
||||
if (!monitorAccount) return
|
||||
if (core.globalState != GlobalState.On) return // In case of late remote provisioning
|
||||
|
||||
if (account == null) {
|
||||
Log.w("$TAG Default account is now null!")
|
||||
|
|
@ -262,6 +263,7 @@ class MainViewModel @UiThread constructor() : ViewModel() {
|
|||
@WorkerThread
|
||||
override fun onAccountRemoved(core: Core, account: Account) {
|
||||
if (!monitorAccount) return
|
||||
if (core.globalState != GlobalState.On) return // In case of late remote provisioning
|
||||
|
||||
Log.w(
|
||||
"$TAG Account [${account.params.identityAddress?.asStringUriOnly()}] has been removed!"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue