Forgot to break loop + fixed issue in log

This commit is contained in:
Sylvain Berfini 2024-06-17 17:08:50 +02:00
parent 60a3752fe8
commit 5cd0a741ab

View file

@ -203,9 +203,11 @@ class TelecomCallControlCallback(
if (result is CallControlResult.Error) { if (result is CallControlResult.Error) {
Log.e("$TAG Failed to change endpoint audio device, error [$result]") Log.e("$TAG Failed to change endpoint audio device, error [$result]")
} else { } else {
Log.i("$TAG It took [$attempts] to change endpoint audio device...") Log.i("$TAG It took [$attempts] attempt(s) to change endpoint audio device...")
} }
} }
break
} else { } else {
Log.w("$TAG No matching audio endpoint found...") Log.w("$TAG No matching audio endpoint found...")
} }