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

Commit 98e68323 authored by Lingyu Feng's avatar Lingyu Feng
Browse files

Remove display settings flag checks in DisplayMirroringSwitchTest

The checks of
"com.android.settings.flags.display_topology_pane_in_display_list"
cause test failures.

Bug: 422275864
Test: EnableDisplayMirroringSwitchTest DisableDisplayMirroringSwitchTest
Flag: EXEMPT fixing bug
Change-Id: I1380142cadb3fad807a406ed337865242d05188e
parent 568155ad
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,6 @@ import platform.test.desktop.SimulatedConnectedDisplayTestRule


@RequiresFlagsEnabled(
@RequiresFlagsEnabled(
    FLAG_ENABLE_DISPLAY_CONTENT_MODE_MANAGEMENT,
    FLAG_ENABLE_DISPLAY_CONTENT_MODE_MANAGEMENT,
    FLAG_CONNECTED_DISPLAY_SETTINGS,
    FLAG_ENABLE_TASKBAR_CONNECTED_DISPLAYS,
    FLAG_ENABLE_TASKBAR_CONNECTED_DISPLAYS,
    FLAG_STATUS_BAR_CONNECTED_DISPLAYS
    FLAG_STATUS_BAR_CONNECTED_DISPLAYS
)
)
+0 −4
Original line number Original line Diff line number Diff line
@@ -35,12 +35,8 @@ import org.junit.Rule
import org.junit.Test
import org.junit.Test
import platform.test.desktop.SimulatedConnectedDisplayTestRule
import platform.test.desktop.SimulatedConnectedDisplayTestRule


const val FLAG_CONNECTED_DISPLAY_SETTINGS: String =
    "com.android.settings.flags.display_topology_pane_in_display_list"

@RequiresFlagsEnabled(
@RequiresFlagsEnabled(
    FLAG_ENABLE_DISPLAY_CONTENT_MODE_MANAGEMENT,
    FLAG_ENABLE_DISPLAY_CONTENT_MODE_MANAGEMENT,
    FLAG_CONNECTED_DISPLAY_SETTINGS,
    FLAG_ENABLE_TASKBAR_CONNECTED_DISPLAYS,
    FLAG_ENABLE_TASKBAR_CONNECTED_DISPLAYS,
    FLAG_STATUS_BAR_CONNECTED_DISPLAYS
    FLAG_STATUS_BAR_CONNECTED_DISPLAYS
)
)