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

Commit c1fc81f9 authored by xiaowang's avatar xiaowang Committed by Automerger Merge Worker
Browse files

bass_client: Fix codecId cast issue am: 5a5bbbaf

parents 4ef8dd0d 5a5bbbaf
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -436,11 +436,7 @@ public class BassClientStateMachine extends StateMachine {
                channel.setSelected(false);
                subGroup.addChannel(channel.build());
            }
            subGroup.setCodecId((long)(baseLevel2.codecId[4] << 32
                    | baseLevel2.codecId[3] << 24
                    | baseLevel2.codecId[2] << 16
                    | baseLevel2.codecId[1] << 8
                    | baseLevel2.codecId[0]));
            subGroup.setCodecId(ByteBuffer.wrap(baseLevel2.codecId).getLong());
            subGroup.setCodecSpecificConfig(BluetoothLeAudioCodecConfigMetadata.
                    fromRawBytes(baseLevel2.codecConfigInfo));
            subGroup.setContentMetadata(BluetoothLeAudioContentMetadata.