Automatically show DTMF soft keyboard when call is connected
This commit is contained in:
@ -1488,6 +1488,7 @@ class MainActivity : AppCompatActivity() {
|
||||
dtmf.visibility = View.VISIBLE
|
||||
dtmf.isEnabled = true
|
||||
dtmf.requestFocus()
|
||||
imm.showSoftInput(dtmf, InputMethodManager.SHOW_IMPLICIT)
|
||||
if (dtmfWatcher != null) dtmf.removeTextChangedListener(dtmfWatcher)
|
||||
dtmfWatcher = call.dtmfWatcher
|
||||
dtmf.addTextChangedListener(dtmfWatcher)
|
||||
|
||||
Reference in New Issue
Block a user