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

Commit 01ce89fc authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudio: Fix Broadcster service tests

Test: atest "BluetoothInstrumentationTests:com.android.bluetooth.le_audio.LeAudioBroadcastServiceTest"
Bug: 254732845
Tag: #feature
Change-Id: I83dcca1ee15a875ce88d9dd7c666cb1527cf1933
Merged-In: I83dcca1ee15a875ce88d9dd7c666cb1527cf1933
(cherry picked from commit 05fff952)
parent 35cd3191
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -172,6 +172,8 @@ public class LeAudioBroadcastServiceTest {
        doReturn(mDatabaseManager).when(mAdapterService).getDatabase();
        doReturn(true, false).when(mAdapterService).isStartedProfile(anyString());
        doReturn(true).when(mAdapterService).isLeAudioBroadcastSourceSupported();
        doReturn((long)(1 << BluetoothProfile.LE_AUDIO_BROADCAST) | (1 << BluetoothProfile.LE_AUDIO))
                .when(mAdapterService).getSupportedProfilesBitMask();

        mAdapter = BluetoothAdapter.getDefaultAdapter();