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

Commit f260376a authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix broken CUJ tacking for CUJ_LPP_ASSIST_INVOCATION_EFFECT

This fixes the issue that the wrong Choreographer was used for the
vsync id. Since the animator runs in SystemUI, the vsyncId obtained from
the Choreographer from SystemUI needs to be used.

Secondly, for correct CUJ tracking, the handler from the Thread that
runs the animators needs to be passed to InteractionJankMonitor#begin.

Bug: 418136893
Test: TopLevelWindowEffectsTest
Test: Manual, i.e. verified that CUJ is correctly showing up in perfetto
      trace
Flag: com.android.systemui.shared.enable_lpp_assist_invocation_effect
Change-Id: I125d7b7e6236b0858c52490ffc361b2f1695767b
parent 2296d78a
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