Fixed typo
This commit is contained in:
@@ -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
|
||||||
@@ -1240,8 +1240,7 @@ 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user