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

Commit 881b6679 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Avoid setting stale surface visibility from back transition

Since migrate_predictive_back_transition is enabled, the surface
visibility will be updated with transition, so it no longer needs
to update manually.

Otherwise because the pending transaction applies on next frame
by WindowAnimator, there could be a race that the sync transaction of
transition sets to visible, but the pending transaction still holds
the hide operation of previous transition and then make the surfaces
invisible unexpectedly.

Bug: 384659191
Flag: EXEMPT bugfix
Test: Launch app from home and trigger back gesture right after the
      animation finishes. The wallpaper should be visible after
      returning to home.
Change-Id: I2dc05778aab74e9340c46aa2f65da2069d394be1
parent c05c4e0e
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