mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 05:27:42 +00:00
Add lint suppression for API31 bluetooth permissions.
This commit is contained in:
@@ -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,10 @@ import org.thoughtcrime.securesms.util.ServiceUtil;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
|
||||
/**
|
||||
* Note: We will need to start handling new permissions once we move to target API 31
|
||||
*/
|
||||
@SuppressLint("MissingPermission")
|
||||
public class BluetoothStateManager {
|
||||
|
||||
private static final String TAG = Log.tag(BluetoothStateManager.class);
|
||||
|
||||
Reference in New Issue
Block a user