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

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

Fix missing transition with visibility change when changing opaque

This aligns OPEN scene transition with CLOSE scene transition that
consists of 2 transitions:

OPEN = OPEN (startActivity) + TO_BACK (convertFromTranslucent)
CLOSE = TO_FRONT (converToTranslucent) + CLOSE (finish)

The TO_BACK was missing. That causes the visibility change to be
committed immediately with surface placement, which increases the
execution time of convertFromTranslucent.

Also removes requestTraversal because setOpaqueLocked will call
scheduleAnimation that is enough to update surface attributes.

Bug: 314261955
Test: UiBenchActivityTransitionsAnimationMicrobenchmark
Change-Id: I4c5e401c6f7fd53650ac49b527df98bc00b8534a
parent 02b61abc
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