[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
Loading
Please register or sign in to comment