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

Skip sync invisible & lifecycle-unlreated window for an Activity.

Client can create extra window and set it's visibility to INVISIBLE or
GONE, for either case, the client won't redraw this window after
request sync, which can cause sync timeout.
To preventing from the timeout issue, skip sync that window during
prepareSync.

Bug: 285818330
Test: atest WindowOrganizerTests WindowStateTests
Test: create a window and set it's visibility to GONE, verify that
activity transition won't be blocked on waiting for this kind of window.

Change-Id: Ie8ccf1d9b8629a60943726cf3c2b8daad84fe08c
parent 3490e6fb
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