Improved User-Agent info

This commit is contained in:
Juha Heinanen
2024-03-06 04:19:48 +02:00
parent a7c52f280f
commit e741f55fec

View File

@ -42,6 +42,7 @@ import androidx.lifecycle.MutableLiveData
import androidx.media.AudioAttributesCompat
import androidx.media.AudioFocusRequestCompat
import androidx.media.AudioManagerCompat
import com.tutpro.baresip.plus.BuildConfig
import java.io.File
import java.net.InetAddress
import java.nio.charset.Charset
@ -447,7 +448,7 @@ class BaresipService: Service() {
addresses.removePrefix(";"),
logLevel,
"baresip v${BuildConfig.VERSION_NAME} " +
"(${System.getProperty("os.arch") ?: "?"}/Android${VERSION.RELEASE})"
"(Android ${VERSION.RELEASE}/${System.getProperty("os.arch") ?: "?"})"
)
}.start()