The FitbitGatt API is designed to provide a strong state machine around all Android gatt operations with the aim of making Android BLE development across Android vendors as straightforward and side-effect free as possible.
If a user tries to start a second pending intent scan without first
cancelling an existing pending intent scan bitgatt should try to cancel
it first, even if the process has been newly brought back up.
This should limit the additional gatt_if consumption to only a single
one
changes
Pending intent scans will cancel previous pending intent scans
how tested
Tested with Guccigatt on a Pixel XL 3 on Android 10
Fixes # internal bug
description
If a user tries to start a second pending intent scan without first cancelling an existing pending intent scan bitgatt should try to cancel it first, even if the process has been newly brought back up.
This should limit the additional gatt_if consumption to only a single one
changes
how tested
Tested with Guccigatt on a Pixel XL 3 on Android 10