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

Commit 77723838 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Automerger Merge Worker
Browse files

LeAudioService: Fix possible crash for A2DP devices am: 01ef9e2c am: bf2f794f am: 0e03c1cf

parents a7fc8bd0 0e03c1cf
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1581,10 +1581,8 @@ public class LeAudioService extends ProfileService {
        }

        if (currentlyActiveGroupId != LE_AUDIO_GROUP_ID_INVALID
                        && groupId != LE_AUDIO_GROUP_ID_INVALID
                || hasFallbackDevice) {
                && (groupId != LE_AUDIO_GROUP_ID_INVALID || hasFallbackDevice)) {
            Log.i(TAG, "Remember that device has FallbackDevice when become inactive active");

            groupDescriptor.mHasFallbackDeviceWhenGettingInactive = true;
        }