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

Skip to content
Commit debb9afe authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Skip performance hint for the end of scene transition

Currently, the transition from convertFromTranslucent is like to
commit visibility from client side. As it is usually called for
ending the scene transition, there won't have any animation effect.
e.g. A starts B
  > B convertsToTranslucent (B->translucent)
   > Play scene transition ~ animation finish
    > B convertFromTranslucent  (B->opaque so A becomes invisible)

The last step only needs to go through the standard procedure of
shell transition for visibility change. Otherwise the early-wakeup
sf hint could add a dropped frame that causes the following frames
to be classified as scheduling jank.

Bug: 314261955
Test: UiBenchActivityTransitionsAnimationMicrobenchmark
Change-Id: I1eafd69ccb95816e4f4b7d5f62c4999d9f04d20d
parent edd641cb
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