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

Commit 1eb32cb6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "LeAudio: Fix Broadcster service tests" into tm-qpr-dev

parents ba620a0a 01ce89fc
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();