Adapter: Reset adapter connection states when BR/EDR is ready
* Set adapter connection state to BluetoothAdapter.STATE_DISCONNECTED on
in onBluetoothReady() callback
* Reset reference counters for profile states including
mProfilesConnected, mProfilesConnecting, mProfilesDisconnecting and
mProfileConnectionState table
* Log discovery start and cancel event
Bug: 65591907
Bug: 66869063
Test: Turn off Bluetooth while devices are connected
Change-Id: Ia2feabbb155ea167a285b1c321532c0d7f3aa0ea
2 files changed