Removed API version guard from connection.audioModeIsVoip = true
This commit is contained in:
@ -69,8 +69,7 @@ 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
|
||||
connection.audioModeIsVoip = true
|
||||
|
||||
val call = Call.ofCallp(callp)
|
||||
if (call != null)
|
||||
@ -124,8 +123,7 @@ 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
|
||||
connection.audioModeIsVoip = true
|
||||
|
||||
// Start the SIP connection logic
|
||||
if (uap != 0L) {
|
||||
|
||||
Reference in New Issue
Block a user