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
Loading
Please register or sign in to comment