minor fix

This commit is contained in:
Gilles Boccon-Gibod
2025-04-24 17:22:25 -07:00
parent febed8179b
commit ab60b42b85
3 changed files with 18 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ class Advertiser(private val bluetoothAdapter: BluetoothAdapter) : AdvertiseCall
@SuppressLint("MissingPermission")
fun stop() {
Log.info("stopping advertiser")
bluetoothAdapter.bluetoothLeAdvertiser.stopAdvertising(this)
}