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

Commit ab4312c8 authored by William Escande's avatar William Escande
Browse files

Fix build failure on acceptBluetoothBinding

Bug: 311772251
Flag: TEST_ONLY
Test: atest ServiceBluetoothTests
Change-Id: I54cbb2f7eb9e07cbf928e8883cbccb35e2c54ea1
parent 9ef128f9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -341,7 +341,7 @@ public class BluetoothManagerServiceTest {
        mManagerService.enableBle("enable_whileTurningToBleOn_shouldEnable", mBinder);
        syncHandler(MESSAGE_ENABLE);

        acceptBluetoothBinding(mBinder, "btservice.AdapterService", 1);
        acceptBluetoothBinding();
        IBluetoothCallback btCallback = captureBluetoothCallback(mAdapterBinder);
        assertThat(mManagerService.getState()).isEqualTo(STATE_BLE_TURNING_ON);

@@ -365,7 +365,7 @@ public class BluetoothManagerServiceTest {
        mManagerService.enable("enable_whileTurningToBleOn_shouldEnable");
        syncHandler(MESSAGE_ENABLE);

        acceptBluetoothBinding(mBinder, "btservice.AdapterService", 1);
        acceptBluetoothBinding();
        IBluetoothCallback btCallback = captureBluetoothCallback(mAdapterBinder);
        assertThat(mManagerService.getState()).isEqualTo(STATE_BLE_TURNING_ON);