lints
This commit is contained in:
parent
53c13684ea
commit
438f384c67
|
@ -334,9 +334,9 @@ class AndroidBluetoothInterface(private val androidContext: Context) : Bluetooth
|
|||
|
||||
runIfScanPermissionGranted(androidContext) {
|
||||
@SuppressLint("MissingPermission")
|
||||
if (bluetoothAdapter!!.isDiscovering) {
|
||||
if (bluetoothAdapter.isDiscovering) {
|
||||
logger(LogLevel.DEBUG) { "Stopping discovery" }
|
||||
bluetoothAdapter!!.cancelDiscovery()
|
||||
bluetoothAdapter.cancelDiscovery()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue