Files
swiftcontrol/lib/bluetooth/emulation
Jonas Acker 356cf16bf5 fix(android): keep a stopped scan stopped and retry failed BLE restarts
- stop() cancels pending restarts and bumps a scan generation before its
  first await. A restart whose start was still pending (deferred by
  Android's scan rate limiter) when stop() ran now turns the native scan
  back off, unless performScanning started a new scan since.
- A restart that stops the scan but fails to start it again retries after
  30 s (up to 3 times) before falling back to the 25-min interval, and the
  support bundle reports the scan as not running meanwhile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:21:18 +01:00
..