Compile against API level 31.

This commit is contained in:
Rashad Sookram
2022-03-21 11:00:07 -04:00
committed by Greyson Parrelli
parent ddfb4bf0a5
commit 90dd6b7cb3
3 changed files with 7 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
package org.thoughtcrime.securesms.webrtc.audio
import android.annotation.SuppressLint
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothHeadset
@@ -19,6 +20,7 @@ import java.util.concurrent.TimeUnit
* reports that to the [SignalAudioManager], and then handles connecting/disconnecting
* to the device if requested by [SignalAudioManager].
*/
@SuppressLint("MissingPermission") // targetSdkVersion is still 30 (https://issuetracker.google.com/issues/201454155)
class SignalBluetoothManager(
private val context: Context,
private val audioManager: FullSignalAudioManager,