Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ffd6d9b authored by Ram Indani's avatar Ram Indani Committed by Automerger Merge Worker
Browse files

Merge "Vts BlendMode tests skip for UNSUPPORTED ColorMode" into tm-dev am: 6d122494

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17048693

Change-Id: I4352d48021cf64cf85a0455ee74949c6387f2327
parents de142ea7 6d122494
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1051,7 +1051,10 @@ class GraphicsBlendModeCompositionTest
        SetUpBase(std::get<0>(GetParam()));
        // TODO(b/219590743) we should remove the below SRGB color mode
        // once we have the BlendMode test fix for all the versions of the ColorMode
        mTestColorModes = {ColorMode::SRGB};
        mTestColorModes.erase(
                std::remove_if(mTestColorModes.begin(), mTestColorModes.end(),
                               [](ColorMode mode) { return mode != ColorMode::SRGB; }),
                mTestColorModes.end());
        mBackgroundColor = BLACK;
        mTopLayerColor = RED;
    }