- Made call URI text unfocusable when outgoing call is active.

This commit is contained in:
Juha Heinanen
2019-10-10 10:54:16 +03:00
parent ccee613134
commit 6f6b07ccff

View File

@ -247,9 +247,9 @@ class MainActivity : AppCompatActivity() {
} }
} }
if (!Utils.checkSipUri(uri)) { if (!Utils.checkSipUri(uri)) {
Utils.alertView(this, getString(R.string.notice), Utils.alertView(this, getString(R.string.notice), "${getString(R.string.invalid_sip_uri)} '$uri'")
"${getString(R.string.invalid_sip_uri)} '$uri'")
} else { } else {
callUri.isFocusable = false
// Set audio mode to MODE_IN_COMMUNICATION and wait 2.5 sec before // Set audio mode to MODE_IN_COMMUNICATION and wait 2.5 sec before
// placing to call in order to avoid missing audio from callee due to // placing to call in order to avoid missing audio from callee due to
// a bug in many Android devices. // a bug in many Android devices.