Ensure activity configuration when applying WCT with display change
This fixes two cases: 1. Because WOC#applyTransaction always defers visibility(config) update, the ensureActivitiesVisible in ATMS#ensureConfigAndVisibilityAfterUpdate is always no-op, if there are non-top visible activities, their configuration won't be delivered to clients in time. E.g. Launch a translucent task and rotate device, then if the activity behind is slow to relaunch, it may flash back content. 2. ATMS#ensureConfigAndVisibilityAfterUpdate always updates config for top activity. When rotating display with split-screen, the WCT also contains the operation to set task bounds. Then it will cause redundant activity relaunch. Fix: 313910429 Test: atest DisplayContentTests#testShellTransitRotation Change-Id: I8c2e4d1d7ac5d3afe832ced31588f15cc24b8d81
Loading
Please register or sign in to comment