Disabled DTMFs tones from dialer if there is at least one call
This commit is contained in:
parent
6ed309ca1d
commit
53c1c77170
1 changed files with 3 additions and 1 deletions
|
@ -36,7 +36,9 @@ class DialerViewModel : ViewModel() {
|
|||
val onKeyClick: NumpadDigitListener = object : NumpadDigitListener {
|
||||
override fun handleClick(key: Char) {
|
||||
enteredUri.value += key.toString()
|
||||
coreContext.core.playDtmf(key, 1)
|
||||
if (coreContext.core.callsNb == 0) {
|
||||
coreContext.core.playDtmf(key, 1)
|
||||
}
|
||||
}
|
||||
|
||||
override fun handleLongClick(key: Char): Boolean {
|
||||
|
|
Loading…
Reference in a new issue