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

Commit 72911a41 authored by Pascal Mütschard's avatar Pascal Mütschard
Browse files

Fix missing jank data for destroyed SurfaceControls.

Changes the FrameTracker to go through the standard waiting-for-jank-
data finish process, when a SurfaceControl is destroyed, instead of the
current process of finishing the CUJ immediatly, as that usually happens
before any jank data is received, or at least not for the last N frames.

Request jank data flushes, even if the SurfaceControl has been destroyed
on the client side, as long as the layer still exists in the composer.

Fixes the max frame duration, when not using HWUI callbacks.

Bug: b/392849939
Test: manual, SysUI perf tests
Flag: EXEMPT bugfix
Change-Id: Ica9695fb04dbb241ed1d24ff693fb24d162434c5
parent 24109ce0
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