Removed API version guard from connection.audioModeIsVoip = true
This commit is contained in:
@@ -69,7 +69,6 @@ class ConnectionService : ConnectionService() {
|
||||
Connection.CAPABILITY_HOLD or
|
||||
Connection.CAPABILITY_MERGE_CONFERENCE or
|
||||
Connection.CAPABILITY_SWAP_CONFERENCE
|
||||
if (android.os.Build.VERSION.SDK_INT >= 31)
|
||||
connection.audioModeIsVoip = true
|
||||
|
||||
val call = Call.ofCallp(callp)
|
||||
@@ -124,7 +123,6 @@ class ConnectionService : ConnectionService() {
|
||||
Connection.CAPABILITY_HOLD or
|
||||
Connection.CAPABILITY_MERGE_CONFERENCE or
|
||||
Connection.CAPABILITY_SWAP_CONFERENCE
|
||||
if (android.os.Build.VERSION.SDK_INT >= 31)
|
||||
connection.audioModeIsVoip = true
|
||||
|
||||
// Start the SIP connection logic
|
||||
|
||||
Reference in New Issue
Block a user