Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f036938c authored by Christine Hallstrom's avatar Christine Hallstrom Committed by William Escande
Browse files

Unregister GATT client if closed before registration completes

If BluetoothGatt#close is called before onClientRegistered, ensure
unregisterClient is called once mClientIf is set and clientConnect is
not called in this scenario.

Test: atest BumbleBluetoothTests
Test: atest GattClientTest#directConnectGattAfterClose from aosp/2755825
Bug: 295587623
Change-Id: Ie949f0ac9fe6130b6d09793642835e2ef38e5bc9
parent 68d769dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment