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

Commit c0e80f82 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: I596f6781880aeb7254972552accab0ad5f0b89cf
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 506ff5bd 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) {