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

Commit 32e1982d authored by Eric Lin's avatar Eric Lin
Browse files

Extract WindowManagerService test support logic.

This commit extracts the setup and teardown logic for
WindowManagerService tests from SystemServicesTestRule into a new file,
WindowManagerServiceTestSupport.kt. It allows other test modules to
reuse this logic.

Specifically, CarLaunchParamsModifierUpdatableTest, which directly calls
WindowManagerService.main, was missing the teardown logic updates in
SystemServicesTestRule causing test failures.

Bug: 356738240
Test: atest WmTests:WindowManagerServiceTests
Flag: com.android.window.flags.condense_configuration_change_for_simple_mode
Change-Id: I0ccccdfe39f366bcc0e247472034b07e2955368c
parent a4e6cc06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment