Removed API version guard from connection.audioModeIsVoip = true

This commit is contained in:
Juha Heinanen
2026-05-02 11:24:19 +03:00
parent f3bb47cdad
commit e3484faa11
@@ -69,7 +69,6 @@ class ConnectionService : ConnectionService() {
Connection.CAPABILITY_HOLD or Connection.CAPABILITY_HOLD or
Connection.CAPABILITY_MERGE_CONFERENCE or Connection.CAPABILITY_MERGE_CONFERENCE or
Connection.CAPABILITY_SWAP_CONFERENCE Connection.CAPABILITY_SWAP_CONFERENCE
if (android.os.Build.VERSION.SDK_INT >= 31)
connection.audioModeIsVoip = true connection.audioModeIsVoip = true
val call = Call.ofCallp(callp) val call = Call.ofCallp(callp)
@@ -124,7 +123,6 @@ class ConnectionService : ConnectionService() {
Connection.CAPABILITY_HOLD or Connection.CAPABILITY_HOLD or
Connection.CAPABILITY_MERGE_CONFERENCE or Connection.CAPABILITY_MERGE_CONFERENCE or
Connection.CAPABILITY_SWAP_CONFERENCE Connection.CAPABILITY_SWAP_CONFERENCE
if (android.os.Build.VERSION.SDK_INT >= 31)
connection.audioModeIsVoip = true connection.audioModeIsVoip = true
// Start the SIP connection logic // Start the SIP connection logic