From 40f4ec916c61bef68cff4168e2acb99f851b7e7d Mon Sep 17 00:00:00 2001 From: wilsonshih Date: Mon, 3 Jul 2023 12:44:56 +0800 Subject: [PATCH] Align the background color component name from shell and flicker test. The background color layer in DefaultTransitionHandler was renamed to animation-background, update the component name in TransitionTest to make they align. Bug: 289408547 Test: atest FlickerTests:TaskTransitionTest Change-Id: I3d3af08880c5f2b94b17933fec04901c16e59c62 --- .../com/android/server/wm/flicker/launch/TaskTransitionTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/launch/TaskTransitionTest.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/launch/TaskTransitionTest.kt index 39c8ca089dbd9..4164c0d440c0e 100644 --- a/tests/FlickerTests/src/com/android/server/wm/flicker/launch/TaskTransitionTest.kt +++ b/tests/FlickerTests/src/com/android/server/wm/flicker/launch/TaskTransitionTest.kt @@ -121,7 +121,7 @@ class TaskTransitionTest(flicker: LegacyFlickerTest) : BaseTest(flicker) { @FlakyTest(bugId = 265007895) @Test fun transitionHasColorBackground() { - val backgroundColorLayer = ComponentNameMatcher("", "Animation Background") + val backgroundColorLayer = ComponentNameMatcher("", "animation-background") val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation) flicker.assertLayers { this.invoke("LAUNCH_NEW_TASK_ACTIVITY coversExactly displayBounds") {