mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
VTS : fix vts fail [1/1]
Problem: VtsHalGraphicsComposerV2_1Target#GraphicsComposerHidlCommandTest.PRESENT_DISPLAY_NO_LAYER_STATE_CHANGES fail the testcase setcolormode SRGB without check if current device support SRGB Solution: change setColorMode from SRGB to NATIVE Verify: verify in on franklin Bug: 135375302 Test: build, boot, VtsHalGraphicsComposerV2_1TargetTest Change-Id: I646c263d96b03f9d30e6563a45cff37835001609 Merged-In: I5eebe5f530e3b62037d669992cf2eca0849f10be
This commit is contained in:
@@ -790,7 +790,7 @@ TEST_F(GraphicsComposerHidlCommandTest, PRESENT_DISPLAY) {
|
|||||||
TEST_F(GraphicsComposerHidlCommandTest, PRESENT_DISPLAY_NO_LAYER_STATE_CHANGES) {
|
TEST_F(GraphicsComposerHidlCommandTest, PRESENT_DISPLAY_NO_LAYER_STATE_CHANGES) {
|
||||||
mWriter->selectDisplay(mPrimaryDisplay);
|
mWriter->selectDisplay(mPrimaryDisplay);
|
||||||
mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::ON);
|
mComposerClient->setPowerMode(mPrimaryDisplay, IComposerClient::PowerMode::ON);
|
||||||
mComposerClient->setColorMode(mPrimaryDisplay, ColorMode::SRGB);
|
mComposerClient->setColorMode(mPrimaryDisplay, ColorMode::NATIVE);
|
||||||
|
|
||||||
auto handle = allocate();
|
auto handle = allocate();
|
||||||
ASSERT_NE(nullptr, handle);
|
ASSERT_NE(nullptr, handle);
|
||||||
|
|||||||
Reference in New Issue
Block a user