Toast if network or hw AEC is not available

This commit is contained in:
Juha Heinanen
2025-04-23 21:37:55 +03:00
parent b2ec3501c0
commit b33289b1ea
5 changed files with 17 additions and 21 deletions

View File

@ -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),