Fix setLayerCursorPosition test
Set composition type to Cursor Bug: 132057336, 131181758 Test: VtsHalGraphicsComposerV2_1TargetTest Change-Id: I03ae799358abcdbd0a1c39a13d30d76aa7712004
This commit is contained in:
parent
efe7621dac
commit
185d7a4b1f
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ TEST_F(GraphicsComposerHidlCommandTest, SET_LAYER_CURSOR_POSITION) {
|
|||
mWriter->selectDisplay(mPrimaryDisplay);
|
||||
mWriter->selectLayer(layer);
|
||||
mWriter->setLayerBuffer(0, handle, -1);
|
||||
mWriter->setLayerCompositionType(IComposerClient::Composition::DEVICE);
|
||||
mWriter->setLayerCompositionType(IComposerClient::Composition::CURSOR);
|
||||
mWriter->setLayerDisplayFrame(displayFrame);
|
||||
mWriter->setLayerPlaneAlpha(1);
|
||||
mWriter->setLayerSourceCrop({0, 0, (float)mDisplayWidth, (float)mDisplayHeight});
|
||||
|
|
Loading…
Reference in a new issue