Correct visible status of an activity if no more transition will happen
When user turn screen off during an opening activity transition, because there won't trigger another transtion for turning screen off, so the Activity will stay visible if the opening transition did not finish before the activity report pause complete. When an activity become invisible and there is no more transition will happen, also check whether the screen is truned off, so it can commit invisible after transition finish. Bug:235381910 Test: enable shell transition, run atest MultiDisplayPolicyTests#testExternalDisplayToggleState Change-Id: Ibffa434cbc2ae2a3126d3c678953580ef564020b
Loading
Please register or sign in to comment