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

Commit 41500494 authored by Tim Peng's avatar Tim Peng
Browse files

Remove flake error for AdvancedBluetoothDetailsHeaderControllerTest

Bug: 188871826
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=AdvancedBluetoothDetailsHeaderControllerTest
Change-Id: If61140213d37b03188cba0c8f49baf3bb9b7f00e
parent e678e2da
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -121,9 +121,6 @@ public class AdvancedBluetoothDetailsHeaderControllerTest {
        when(mBluetoothDevice.getMetadata(
                BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn(
                String.valueOf(false).getBytes());
        when(mBluetoothDevice.getMetadata(
                BluetoothDevice.METADATA_MAIN_BATTERY)).thenReturn(
                String.valueOf(BATTERY_LEVEL_MAIN).getBytes());
        when(mCachedDevice.isConnected()).thenReturn(true);

        mController.refresh();
@@ -134,6 +131,7 @@ public class AdvancedBluetoothDetailsHeaderControllerTest {
                View.GONE);
        assertThat(mLayoutPreference.findViewById(R.id.layout_middle).getVisibility()).isEqualTo(
                View.VISIBLE);
        // TODO (b/188954766) : clarify settings design
    }

    @Test