mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-15 02:36:12 -04:00
Fluff
This commit is contained in:
@@ -27,7 +27,7 @@ class BleScanner @Inject constructor(
|
||||
mode: Int = ScanSettings.SCAN_MODE_BALANCED,
|
||||
): Flow<List<ScanResult>> = callbackFlow {
|
||||
val adapter = bluetoothManager.adapter
|
||||
val scanner = adapter.bluetoothLeScanner
|
||||
val scanner = bluetoothManager.scanner
|
||||
|
||||
val callback = object : ScanCallback() {
|
||||
override fun onScanResult(callbackType: Int, result: ScanResult) {
|
||||
|
||||
Reference in New Issue
Block a user