Loading
Fix LE service discovery event cancelling SDP discovery
When disconnection or timeout event happens for LE service discovery, it would now clean up whole control block, including classic SDP things. If SDP is taking long time, i.e. due to problems with establishing classic connection, this might cause service discovery to return partial results. Test: Bond with dual mode device that fails to connect on classic transport Bug: 357902043 Bug: 360936118 Flag: com.android.bluetooth.flags.fix_le_evt_cancelling_sdp_discovery Change-Id: Ic16c0d58815d6c1260dcf4f3250226c532d4f99f