Loading android/app/src/com/android/bluetooth/le_audio/LeAudioService.java +9 −5 Original line number Diff line number Diff line Loading @@ -1436,7 +1436,8 @@ public class LeAudioService extends ProfileService { synchronized (mGroupLock) { LeAudioGroupDescriptor descriptor = getGroupDescriptor(groupId); if (descriptor == null || descriptor.mIsActive) { Log.e(TAG, "no descriptors for group: " + groupId + " or group already active"); Log.e(TAG, "handleGroupTransitToActive: no descriptors for group: " + groupId + " or group already active"); return; } Loading @@ -1454,7 +1455,8 @@ public class LeAudioService extends ProfileService { synchronized (mGroupLock) { LeAudioGroupDescriptor descriptor = getGroupDescriptor(groupId); if (descriptor == null || !descriptor.mIsActive) { Log.e(TAG, "no descriptors for group: " + groupId + " or group already inactive"); Log.e(TAG, "handleGroupTransitToInactive: no descriptors for group: " + groupId + " or group already inactive"); return; } Loading Loading @@ -1720,7 +1722,7 @@ public class LeAudioService extends ProfileService { descriptor.mAvailableContexts = available_contexts; updateInbandRingtoneForTheGroup(groupId); } else { Log.e(TAG, "no descriptors for group: " + groupId); Log.e(TAG, "messageFromNative: no descriptors for group: " + groupId); } } } else if (stackEvent.type == LeAudioStackEvent.EVENT_TYPE_SINK_AUDIO_LOCATION_AVAILABLE) { Loading Loading @@ -2016,7 +2018,8 @@ public class LeAudioService extends ProfileService { if (descriptor != null) { descriptor.mIsConnected = true; } else { Log.e(TAG, "no descriptors for group: " + deviceDescriptor.mGroupId); Log.e(TAG, "connectionStateChanged(STATE_CONNECTED): no descriptors for group: " + deviceDescriptor.mGroupId); } } // Check if the device is disconnected - if unbond, remove the state machine Loading @@ -2032,7 +2035,8 @@ public class LeAudioService extends ProfileService { synchronized (mGroupLock) { LeAudioGroupDescriptor descriptor = getGroupDescriptor(deviceDescriptor.mGroupId); if (descriptor == null) { Log.e(TAG, "no descriptors for group: " + deviceDescriptor.mGroupId); Log.e(TAG, "connectionStateChanged(STATE_DISCONNECTED): no descriptors for " + "group: " + deviceDescriptor.mGroupId); return; } Loading Loading
android/app/src/com/android/bluetooth/le_audio/LeAudioService.java +9 −5 Original line number Diff line number Diff line Loading @@ -1436,7 +1436,8 @@ public class LeAudioService extends ProfileService { synchronized (mGroupLock) { LeAudioGroupDescriptor descriptor = getGroupDescriptor(groupId); if (descriptor == null || descriptor.mIsActive) { Log.e(TAG, "no descriptors for group: " + groupId + " or group already active"); Log.e(TAG, "handleGroupTransitToActive: no descriptors for group: " + groupId + " or group already active"); return; } Loading @@ -1454,7 +1455,8 @@ public class LeAudioService extends ProfileService { synchronized (mGroupLock) { LeAudioGroupDescriptor descriptor = getGroupDescriptor(groupId); if (descriptor == null || !descriptor.mIsActive) { Log.e(TAG, "no descriptors for group: " + groupId + " or group already inactive"); Log.e(TAG, "handleGroupTransitToInactive: no descriptors for group: " + groupId + " or group already inactive"); return; } Loading Loading @@ -1720,7 +1722,7 @@ public class LeAudioService extends ProfileService { descriptor.mAvailableContexts = available_contexts; updateInbandRingtoneForTheGroup(groupId); } else { Log.e(TAG, "no descriptors for group: " + groupId); Log.e(TAG, "messageFromNative: no descriptors for group: " + groupId); } } } else if (stackEvent.type == LeAudioStackEvent.EVENT_TYPE_SINK_AUDIO_LOCATION_AVAILABLE) { Loading Loading @@ -2016,7 +2018,8 @@ public class LeAudioService extends ProfileService { if (descriptor != null) { descriptor.mIsConnected = true; } else { Log.e(TAG, "no descriptors for group: " + deviceDescriptor.mGroupId); Log.e(TAG, "connectionStateChanged(STATE_CONNECTED): no descriptors for group: " + deviceDescriptor.mGroupId); } } // Check if the device is disconnected - if unbond, remove the state machine Loading @@ -2032,7 +2035,8 @@ public class LeAudioService extends ProfileService { synchronized (mGroupLock) { LeAudioGroupDescriptor descriptor = getGroupDescriptor(deviceDescriptor.mGroupId); if (descriptor == null) { Log.e(TAG, "no descriptors for group: " + deviceDescriptor.mGroupId); Log.e(TAG, "connectionStateChanged(STATE_DISCONNECTED): no descriptors for " + "group: " + deviceDescriptor.mGroupId); return; } Loading