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

Commit b68521d9 authored by Luca Zuccarini's avatar Luca Zuccarini
Browse files

Fix misclassified jank for CUJ SHADE_DIALOG_OPEN (and others).

This fix includes two changes:
1. The jank should be measured in and attributed to the opening
   dialog's window, not the origin view's window. This is because
   that's where the animation actually happens.
2. Logging should begin when the animator starts, and not when the
   animation is requested to start, because these two do not happen
   in the same frame.

Bug: 409008342
Flag: com.android.systemui.fix_dialog_launch_animation_jank_logging
Test: atest DialogTransitionAnimatorTest + perfetto
Change-Id: Ia8d338217e2441d3aba0e5b922fb4d1878612cf4
parent ad6bb95f
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