mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Clear composition changes when a color mode is not supported
Otherwise this may cause a test to spuriously fail during teardown. Bug: 184726169 Test: VtsHalGraphicsComposerV2_2TargetTest Change-Id: I569680a0fe6c866199ba0711e8cc263b9b3efd58
This commit is contained in:
@@ -458,6 +458,7 @@ TEST_P(GraphicsCompositionTest, ClientComposition) {
|
||||
<< " pixel format: PixelFormat::RGBA_8888 dataspace: "
|
||||
<< ReadbackHelper::getDataspaceString(clientDataspace)
|
||||
<< " unsupported for display" << std::endl;
|
||||
mReader->mCompositionChanges.clear();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user