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

Commit 6e8caa66 authored by Shan Huang's avatar Shan Huang
Browse files

Disable ScrimControllerTest for notification_shade_blur

Bug: 370555223
Flag: com.android.systemui.notification_shade_blur
Test: atest ScrimControllerTest

Change-Id: I70a8188446315a1868575cd37df824b95656e13b
parent 41e9f3c2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.systemui.statusbar
import android.os.IBinder
import android.platform.test.annotations.DisableFlags
import android.platform.test.annotations.EnableFlags
import android.platform.test.annotations.RequiresFlagsDisabled
import android.testing.TestableLooper.RunWithLooper
import android.view.Choreographer
import android.view.View
@@ -353,6 +354,7 @@ class NotificationShadeDepthControllerTest : SysuiTestCase() {
    }

    @Test
    @RequiresFlagsDisabled(Flags.FLAG_NOTIFICATION_SHADE_BLUR)
    fun updateBlurCallback_setsOpaque_whenScrim() {
        scrimVisibilityCaptor.value.accept(ScrimController.OPAQUE)
        notificationShadeDepthController.updateBlurCallback.doFrame(0)
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ import java.util.Map;
@SmallTest
// TODO(b/381263619) there are more changes and tweaks required to match the new bouncer/shade specs
// Disabling for now but it will be fixed before the flag is fully ramped up.
@DisableFlags(Flags.FLAG_BOUNCER_UI_REVAMP)
@DisableFlags({Flags.FLAG_BOUNCER_UI_REVAMP, Flags.FLAG_NOTIFICATION_SHADE_BLUR})
public class ScrimControllerTest extends SysuiTestCase {

    @Rule public Expect mExpect = Expect.create();