summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shan Huang <shanh@google.com> 2025-02-21 17:23:00 -0800
committer Shan Huang <shanh@google.com> 2025-02-21 17:36:47 -0800
commitaa918566f5f46ffa8ae0f2c01cc10c95b7b1e1ff (patch)
tree0e0033694979a76f9c7178089b6670d7c041e2cd
parente8aa3de1085de99bdd4e58d55d83354b7f56acde (diff)
Replace @RequiresFlagsDisabled with @DisableFlags
For some unknown reason the former was unsuccessful in skipping the test when the flag is enabled. Bug: 370555223 Flag: com.android.systemui.notification_shade_blur Test: atest NotificationShadeDepthControllerTest Change-Id: Iff9a3a23f6fa1788157dcbbbcb5b5a275de6159f
-rw-r--r--packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/NotificationShadeDepthControllerTest.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/NotificationShadeDepthControllerTest.kt b/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/NotificationShadeDepthControllerTest.kt
index c10fd5e18fc5..326d8ffd3c7c 100644
--- a/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/NotificationShadeDepthControllerTest.kt
+++ b/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/NotificationShadeDepthControllerTest.kt
@@ -19,7 +19,6 @@ 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
@@ -360,7 +359,7 @@ class NotificationShadeDepthControllerTest : SysuiTestCase() {
}
@Test
- @RequiresFlagsDisabled(Flags.FLAG_NOTIFICATION_SHADE_BLUR)
+ @DisableFlags(Flags.FLAG_NOTIFICATION_SHADE_BLUR)
fun updateBlurCallback_setsOpaque_whenScrim() {
scrimVisibilityCaptor.value.accept(ScrimController.OPAQUE)
notificationShadeDepthController.updateBlurCallback.doFrame(0)