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

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

Merge "LeAudioService: Fix parcel cleaning for broadcast profile info" into...

Merge "LeAudioService: Fix parcel cleaning for broadcast profile info" into tm-d1-dev am: b6d88774

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/18994747



Change-Id: Ia6a550bcb6c09dacef5b0db8315141115d3e877f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1fdfd109 b6d88774
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1100,7 +1100,10 @@ public class LeAudioService extends ProfileService {
        parcel.writeBoolean(true /* mIsLeOutput */);
        parcel.setDataPosition(0);

        return BluetoothProfileConnectionInfo.CREATOR.createFromParcel(parcel);
        BluetoothProfileConnectionInfo profileInfo =
                BluetoothProfileConnectionInfo.CREATOR.createFromParcel(parcel);
        parcel.recycle();
        return profileInfo;
    }

    private void clearLostDevicesWhileStreaming(LeAudioGroupDescriptor descriptor) {