Add logs to debug incoming A2DP connection issue.
Change-Id: Ifbdd625ec8dc50544990a1ddbd87284285f3f2d2
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user