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

Commit 35cca888 authored by Jiaming Cheng's avatar Jiaming Cheng
Browse files

[flexiglass] Fix WindowRootViewVisibilityInteractorTest failures with SceneContainerFlag

Adapted the logic correctly with `SceneContainerFlag`:
    - `isLockscreenOrShadeVisible_true()` and
       `isLockscreenOrShadeVisible_false()` now test various scene
       states (Idle and Transition).
    - `isLockscreenOrShadeVisible_matchesRepo()` is now annotated
        with `@DisableSceneContainer`.
    - `isLockscreenOrShadeVisibleAndInteractive_notVisible_false()`
       and `lockscreenShadeNotInteractive_statusBarServiceNotified()`
       now have conditional logic for flag-enabled and flag-disabled
       scenarios.

Also, this cl made WindowRootViewVisibilityInteractorTest
to a parameterized test with SceneContainerFlag.

Bug: 416716527
Flag: com.android.systemui.scene_container
Test: com.android.systemui.scene.domain.interactor.WindowRootViewVisibilityInteractorTest

Change-Id: I0d4a294488b47c06d5468bc073f7be9aaa55a822
parent 256cdd30
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