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

Skip to content
Commit d483fa5b authored by Rachel Lee's avatar Rachel Lee
Browse files

Copy from DisplayEventReceiver.VsyncEventData

Fix for regression.

In the regressing CL, per-frame allocation of new VsyncEventData is
removed. Instead, a single VsyncEventData is written into with new data
each frame.
However, `mLastVsyncEventData` was assigned to reference that single
VsyncEventData, so the data inside can be changed underneath. To fix,
copy the data instead of storing the reference.

Bug: 272123078
Test: ABTD run with ATP from bugs and check metric
Change-Id: I39e51cadad61b5e496effc5c7d87d824ae97438a
parent 3d2226d2
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