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

Skip to content
Commit 5ed18499 authored by chaviw's avatar chaviw
Browse files

Remove overlay when DC is mirroring

Layers can be added to the overlay when DisplayContent is mirroring
which would add content that's not from the original display. This
change puts the overlay layer offscreen so the root layer will only have
the mirrored content below.

This fixes an issue where screen recording with MediaProjection would
show a black frame as the first frame. That frame was the RotationLayer
getting put on top since the system thinks it needs to freeze the
display.

Test: No longer black frame as first frame in recording
Test: SurfaceViewSyncTest
Fixes: 205235272
Change-Id: I96323db05221d02db4d7762c7f36d3af904ef49e
parent 336c20ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment