Hearing Aid: Clean up GATT on disconnect
When user requests Disconnect(), after disconnecting GATT, OnGattDisconnected() never cleans up GATT queue, because the corresponding device is already removed from HearingDevices. We need to clean up the queue before connecting the same device again. Without the fix, sometimes ACL is connected, but the host failed to read GATT characteristic to open COC. Also clean up connection update status during disconnect Bug: 115365334 Test: connect to both devices -> disconnect -> connect, and repeat Change-Id: I158b19b3d1f2cb2123ec554eb1ffe8c842df998e
Loading
Please register or sign in to comment