Toast if network or hw AEC is not available
This commit is contained in:
@ -2187,12 +2187,6 @@ class MainActivity : ComponentActivity() {
|
||||
Log.d(TAG, "Handling intent '$action'")
|
||||
val ev = action.split(",")
|
||||
when (ev[0]) {
|
||||
"no network" -> {
|
||||
alertTitle.value = getString(R.string.notice)
|
||||
alertMessage.value = getString(R.string.no_network)
|
||||
showAlert.value = true
|
||||
return
|
||||
}
|
||||
"call", "dial" -> {
|
||||
if (Call.inCall()) {
|
||||
Toast.makeText(applicationContext, getString(R.string.call_already_active),
|
||||
|
||||
Reference in New Issue
Block a user