Fixed typo

This commit is contained in:
Juha Heinanen
2024-11-20 01:59:20 +02:00
parent 8bd9260d12
commit 04e01adcbd
@@ -635,7 +635,7 @@ class BaresipService: Service() {
if (ev[0] == "player sessionid") { if (ev[0] == "player sessionid") {
val sessionId = ev[1].toInt() val sessionId = ev[1].toInt()
Log.d(TAG, "got recorder sessionid $sessionId") Log.d(TAG, "got player sessionid $sessionId")
if (aec) if (aec)
AcousticEchoCanceler.create(sessionId) AcousticEchoCanceler.create(sessionId)
return return
@@ -1239,9 +1239,8 @@ class BaresipService: Service() {
private fun getActionText(@StringRes stringRes: Int, @ColorRes colorRes: Int): Spannable { private fun getActionText(@StringRes stringRes: Int, @ColorRes colorRes: Int): Spannable {
val spannable: Spannable = SpannableString(applicationContext.getText(stringRes)) val spannable: Spannable = SpannableString(applicationContext.getText(stringRes))
spannable.setSpan( spannable.setSpan(
ForegroundColorSpan(applicationContext.getColor(colorRes)), ForegroundColorSpan(applicationContext.getColor(colorRes)), 0, spannable.length, 0)
0, spannable.length, 0)
return spannable return spannable
} }