Add logs to debug incoming A2DP connection issue.

Change-Id: Ifbdd625ec8dc50544990a1ddbd87284285f3f2d2
This commit is contained in:
Jaikumar Ganesh
2010-10-26 00:28:39 -07:00
parent b1ef244732
commit 8febf88618

View File

@@ -483,6 +483,8 @@ public class BluetoothA2dpService extends IBluetoothA2dp.Stub {
if (name.equals(PROPERTY_STATE)) {
int state = convertBluezSinkStringtoState(propValues[1]);
log("A2DP: onSinkPropertyChanged newState is: " + state + "mPlayingA2dpDevice: " + mPlayingA2dpDevice);
if (mAudioDevices.get(device) == null) {
// This is for an incoming connection for a device not known to us.
// We have authorized it and bluez state has changed.