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

Defer committing visible until transition ready

So some logic depend on ActivityRecord#isVisible() won't be called
earlier before transition ready that may delay the animation.
Such as updateFocusedWindow in activityPaused and
updateSystemBarAttributes when starting window performs relayout.

Skip the assertion pipAppWindowAlwaysVisible for "swipe up and
fade in pip" because either "always visible" or "visible->invisible
->visible" is fine for internal state. The visual appearance is
still asserted by layer visibility.

Bug: 260059642
Test: TransitionTests
Test: OpenAppMicrobenchmark with shell transition.

Change-Id: I294a40cfb43ede763f3c91204ae1d7f2d8ff8035
parent 8e6e692f
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