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

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

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
parent 1f50aa3c
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