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

Commit 81796e5a authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Re-enable unit test in A2dpServiceTest for EVENT_TYPE_CODEC_CONFIG_CHANGED"

am: dd94425a

Change-Id: I22ae4b72311c4f24f5e12fe87d7bccd40bc2b1f0
parents 80dbe74f dd94425a
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -610,13 +610,10 @@ public class A2dpServiceTest {
        Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice));
        Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice));


        // A2DP stack event: EVENT_TYPE_CODEC_CONFIG_CHANGED - Intent broadcast should be generated
        // A2DP stack event: EVENT_TYPE_CODEC_CONFIG_CHANGED - Intent broadcast should be generated
        // TODO: Commented-out for now because of b/73404858
/*
        generateCodecMessageFromNative(mTestDevice, codecStatus);
        generateCodecMessageFromNative(mTestDevice, codecStatus);
        Assert.assertEquals(BluetoothProfile.STATE_CONNECTED,
        Assert.assertEquals(BluetoothProfile.STATE_CONNECTED,
                            mA2dpService.getConnectionState(mTestDevice));
                            mA2dpService.getConnectionState(mTestDevice));
        Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice));
        Assert.assertTrue(mA2dpService.getDevices().contains(mTestDevice));
*/


        // A2DP stack event: CONNECTION_STATE_DISCONNECTED - state machine should be removed
        // A2DP stack event: CONNECTION_STATE_DISCONNECTED - state machine should be removed
        generateConnectionMessageFromNative(mTestDevice, BluetoothProfile.STATE_DISCONNECTED,
        generateConnectionMessageFromNative(mTestDevice, BluetoothProfile.STATE_DISCONNECTED,