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

Commit 3a086419 authored by Alec Mouri's avatar Alec Mouri Committed by Android Build Cherrypicker Worker
Browse files

Reorder RengineEngine and LayerSettings in VTS

VTS readback tests were crashing because RenderEngine before LayerSettings were deleted. LayerSettings holds onto ExternalTexture, which calls back into RenderEngine to clean up texture objects, so this was causing a UAF issue.

Bug: 372063484
Test: VtsHalGraphicsComposer3_TargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:92a3161ed6a89858f95e03ce981ce7a4ed19b396)
(cherry picked from https://android-review.googlesource.com/q/commit:27c2a2da65b440f63bcbbc0389e49ae0c9d59af3)
Merged-In: Iad39e1a4aa9a9488af54742df121a981756b6275
Change-Id: Iad39e1a4aa9a9488af54742df121a981756b6275
parent e97e44eb
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