Skip to content
Commit f6f4c305 authored by wilsonshih's avatar wilsonshih
Browse files

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
parent 3590c754
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