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

Commit be835a7d authored by Hyundo Moon's avatar Hyundo Moon Committed by Cherrypicker Worker
Browse files

MapClientServiceTest: Fix wrong intent action in test

The wrong intent was used in this test.
Test was not failing, but the lines were not covered.

Bug: 266760376
Test: atest MapClientServiceTest
Change-Id: Id21783fc3073a67139225bb569fb8e9571c7954e
(cherry picked from commit fd6d69d7)
Merged-In: Id21783fc3073a67139225bb569fb8e9571c7954e
parent 04ca17d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -301,7 +301,7 @@ public class MapClientServiceTest {
        MceStateMachine sm = mock(MceStateMachine.class);
        mService.getInstanceMap().put(mRemoteDevice, sm);

        Intent intent = new Intent(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED);
        Intent intent = new Intent(BluetoothDevice.ACTION_SDP_RECORD);
        intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevice);
        intent.putExtra(BluetoothProfile.EXTRA_STATE, BluetoothProfile.STATE_DISCONNECTED);
        intent.putExtra(BluetoothDevice.EXTRA_UUID, BluetoothUuid.MAS);