Fix a multi device Bluetooth connection scenario.
The Car policy failed to connect to a second device on a vehicle event
when it was already connected to one device.
1. While updating a disconnect status for a device, check if there are
other devices in the middle of a connection.
2. Before sendign a connect request to a device, check if it is not
already connected.
Bug: b/63444771
Test: Tested manually and also with a new unit test.
Change-Id: If68e070b7737db07484ad5fe09391a90881855e5
2 files changed