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#testIntermediateVisibility Test: OpenAppMicrobenchmark with shell transition. Change-Id: I4584880dd91f9b406bc5241a67eebae179a7fe40
Loading
Please register or sign in to comment