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

Commit b6d88774 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Android (Google) Code Review
Browse files

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

parents 500ab176 b9498587
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) {