Fixed DTMF not being sent in call
This commit is contained in:
parent
a5de783ebe
commit
63a8fdd118
2 changed files with 1 additions and 2 deletions
|
@ -80,6 +80,7 @@ class ControlsViewModel : ViewModel() {
|
|||
override fun handleClick(key: Char) {
|
||||
coreContext.core.playDtmf(key, 1)
|
||||
somethingClickedEvent.value = Event(true)
|
||||
coreContext.core.currentCall?.sendDtmf(key)
|
||||
}
|
||||
|
||||
override fun handleLongClick(key: Char): Boolean {
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.linphone.LinphoneApplication.Companion.coreContext
|
|||
import org.linphone.activities.main.viewmodels.ErrorReportingViewModel
|
||||
import org.linphone.core.Address
|
||||
import org.linphone.core.ChatRoomSecurityLevel
|
||||
import org.linphone.core.tools.Log
|
||||
import org.linphone.utils.LinphoneUtils
|
||||
|
||||
interface ContactViewModelInterface {
|
||||
|
@ -46,7 +45,6 @@ abstract class GenericContactViewModel(private val sipAddress: Address) : ErrorR
|
|||
|
||||
private val contactsUpdatedListener = object : ContactsUpdatedListenerStub() {
|
||||
override fun onContactUpdated(contact: Contact) {
|
||||
Log.i("[Generic Contact VM] Contacts have changed")
|
||||
contactLookup()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue