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.visibility = View.VISIBLE
|
||||||
dtmf.isEnabled = true
|
dtmf.isEnabled = true
|
||||||
dtmf.requestFocus()
|
dtmf.requestFocus()
|
||||||
|
imm.showSoftInput(dtmf, InputMethodManager.SHOW_IMPLICIT)
|
||||||
if (dtmfWatcher != null) dtmf.removeTextChangedListener(dtmfWatcher)
|
if (dtmfWatcher != null) dtmf.removeTextChangedListener(dtmfWatcher)
|
||||||
dtmfWatcher = call.dtmfWatcher
|
dtmfWatcher = call.dtmfWatcher
|
||||||
dtmf.addTextChangedListener(dtmfWatcher)
|
dtmf.addTextChangedListener(dtmfWatcher)
|
||||||
|
|||||||
Reference in New Issue
Block a user