commit | 642380410dd85748189bbdfe84bc25dde5f1e952 | [log] [tgz] |
---|---|---|
author | jasonwshsu <jasonwshsu@google.com> | Mon Feb 13 01:49:25 2023 +0800 |
committer | jasonwshsu <jasonwshsu@google.com> | Mon Feb 13 01:52:37 2023 +0800 |
tree | cfef949db09b50d04c137ab88919d248f978957f | |
parent | 34b7835a5087eedbfba448b89418f5dfa69f82dc [diff] |
Fix fail test case in FlashNotificationsUtilTest * Update correct code for ScreenFlashNotificationColor.AZURE Bug: 237628564 Test: make RunSettingsRoboTests ROBOTEST_FILTER=FlashNotificationsUtilTest Change-Id: I10a3106ab140192841a703b50763a1d2e6b1c0d0
diff --git a/tests/robotests/src/com/android/settings/accessibility/FlashNotificationsUtilTest.java b/tests/robotests/src/com/android/settings/accessibility/FlashNotificationsUtilTest.java index 65f1c44..c5fe3a7 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 @@ @Test public void getScreenColor_azureColor_returnAzure() throws Exception { - assertThat(getScreenColor(0x4D0000FF)).isEqualTo(ScreenFlashNotificationColor.AZURE); + assertThat(getScreenColor(0x660080FF)).isEqualTo(ScreenFlashNotificationColor.AZURE); } @Test