commit | a941d3eaeb34075750a92eff2d2a66b0bad5e449 | [log] [tgz] |
---|---|---|
author | Android Merger <noreply-android-build-merger@google.com> | Thu Aug 02 23:09:14 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 02 23:09:14 2018 +0000 |
tree | 50d4f626540de64fa8ed005c9741932aa373241a | |
parent | 0fd6e0cad06abb6c163d7d1de829dab3f70c05a0 [diff] | |
parent | 1c098188cf9b83566eb75f25422ffcd5171d8018 [diff] |
Merge "Merge "Fix backgroundPixels comparison for testLightStatusBarIcons and testLightNavigationBar." into oreo-mr1-cts-dev am: 93e03c290b"
diff --git a/tests/tests/systemui/src/android/systemui/cts/LightBarTests.java b/tests/tests/systemui/src/android/systemui/cts/LightBarTests.java index eccb16d..e38ff52 100644 --- a/tests/tests/systemui/src/android/systemui/cts/LightBarTests.java +++ b/tests/tests/systemui/src/android/systemui/cts/LightBarTests.java
@@ -261,7 +261,7 @@ float eps = 0.005f; for (int c : pixels) { - if (c == background) { + if (isColorSame(c, background)) { s.backgroundPixels++; continue; }