mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Force contacts reload after adding/removing CardDAV account
This commit is contained in:
parent
0cfdedc09a
commit
949d870d7e
1 changed files with 8 additions and 0 deletions
|
|
@ -79,6 +79,10 @@ class CardDavViewModel : GenericViewModel() {
|
|||
)
|
||||
)
|
||||
)
|
||||
|
||||
Log.i("$TAG Notifying contacts manager that contacts have changed")
|
||||
coreContext.contactsManager.notifyContactsListChanged()
|
||||
|
||||
syncSuccessfulEvent.postValue(Event(true))
|
||||
}
|
||||
FriendList.SyncStatus.Failure -> {
|
||||
|
|
@ -150,6 +154,10 @@ class CardDavViewModel : GenericViewModel() {
|
|||
)
|
||||
)
|
||||
)
|
||||
|
||||
Log.i("$TAG Notifying contacts manager that contacts have changed")
|
||||
coreContext.contactsManager.notifyContactsListChanged()
|
||||
|
||||
friendListRemovedEvent.postValue(Event(true))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue