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

Commit d0b55fb6 authored by Leon Masopust's avatar Leon Masopust
Browse files

[flexiglass] Disable unnecessary CentralSurfacesImplTests

Disable testKeyguardHideDelayedIfOcclusionAnimationRunning and
testKeyguardHideNotDelayedIfOcclusionAnimationNotRunning when
Flexiglass is enabled as they are just verifying that the
StatusBarStateController state is set which is not implemented for
Flexiglass at all.

Test: CentralSurfacesImplTest
Bug: 427066068
Flag: com.android.systemui.scene_container

Change-Id: Iffc21682c676b5ab83dbeb356bd0cf15c8abee43
parent 1247309c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1136,7 +1136,8 @@ public class CentralSurfacesImplTest extends SysuiTestCase {
    }

    @Test
    @Ignore("b/416718983")
    // When the scene container is enabled, StatusBarStateController.setState() is no longer needed.
    @DisableSceneContainer
    public void testKeyguardHideDelayedIfOcclusionAnimationRunning() {
        // Show the keyguard and verify we've done so.
        setKeyguardShowingAndOccluded(true /* showing */, false /* occluded */);
@@ -1156,7 +1157,8 @@ public class CentralSurfacesImplTest extends SysuiTestCase {
    }

    @Test
    @Ignore("b/416718983")
    // When the scene container is enabled, StatusBarStateController.setState() is no longer needed.
    @DisableSceneContainer
    public void testKeyguardHideNotDelayedIfOcclusionAnimationNotRunning() {
        // Show the keyguard and verify we've done so.
        setKeyguardShowingAndOccluded(true /* showing */, false /* occluded */);