Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8febf886 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh
Browse files

Add logs to debug incoming A2DP connection issue.

Change-Id: Ifbdd625ec8dc50544990a1ddbd87284285f3f2d2
parent b1ef2447
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.