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