mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
BluetoothAdapter.bondedDevices returns every paired BT device on the phone (headphones, cars, watches, etc.). The picker's bondedBleFlow was mapping the full set into DeviceListEntry.Ble with no filter, leaking non-Meshtastic devices into the connection list. Apply the existing Meshtastic name pattern (getMeshtasticShortName()) at the use-case layer. Repository semantics are preserved so BleRadioTransport.findDevice() can still resolve a saved address regardless of name conventions. The active scan path (KableBleScanner) already filters by SERVICE_UUID and is unaffected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||
| detekt-baseline.xml | ||