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
Loading
Please register or sign in to comment