From 642380410dd85748189bbdfe84bc25dde5f1e952 Mon Sep 17 00:00:00 2001 From: jasonwshsu Date: Mon, 13 Feb 2023 01:49:25 +0800 Subject: [PATCH] Fix fail test case in FlashNotificationsUtilTest * Update correct code for ScreenFlashNotificationColor.AZURE Bug: 237628564 Test: make RunSettingsRoboTests ROBOTEST_FILTER=FlashNotificationsUtilTest Change-Id: I10a3106ab140192841a703b50763a1d2e6b1c0d0 --- .../settings/accessibility/FlashNotificationsUtilTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/robotests/src/com/android/settings/accessibility/FlashNotificationsUtilTest.java b/tests/robotests/src/com/android/settings/accessibility/FlashNotificationsUtilTest.java index 65f1c44b7dd..c5fe3a7c792 100644 --- a/tests/robotests/src/com/android/settings/accessibility/FlashNotificationsUtilTest.java +++ b/tests/robotests/src/com/android/settings/accessibility/FlashNotificationsUtilTest.java @@ -139,7 +139,7 @@ public class FlashNotificationsUtilTest { @Test public void getScreenColor_azureColor_returnAzure() throws Exception { - assertThat(getScreenColor(0x4D0000FF)).isEqualTo(ScreenFlashNotificationColor.AZURE); + assertThat(getScreenColor(0x660080FF)).isEqualTo(ScreenFlashNotificationColor.AZURE); } @Test