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

Commit 2e85d127 authored by Jim Shargo's avatar Jim Shargo
Browse files

SF: fix DisplayTransactionCommitTest#processesVirtualDisplayAdded

This fixes this test by updating the expectations and properly setting
the origin of the sink surface. This only affects the unlaunched
VirtualDisplaySurface2 code.

This moves the construction of the render surface to onFirstRef so that
the surface can be accessed immediately after construction. Previously
this would be created only after the sink surface was set up.

Bug: 340933138
Flag: com.android.graphics.surfaceflinger.flags.wb_virtualdisplay2
Test: DisplayTransactionCommitTest

Change-Id: Ifcea02d5759065159a6ffce7d1d06a2adff3835b
parent 2021cde7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment