Properly update profile connection state.

When DUT is toggled between various paired Headsets Connection
state is not updated properly in some scenarios.This is causing
Bluetooth icon to be in connected state even when no Headsets are
connected.
With this patch we will broadcast connection states in case of
failure and will make sure connected, connecting,disconnecting
devices count is never negative.

Change-Id: Ia34e6d87159fbf22b4d4ee397272dfdfa1af1140
1 file changed