Support windows being created and set to visible in the same frame in WM

Currently, they had to be created invisible and then set to visible in a next frame. When the device was able to do both operations at the same it failed.

Test was 5% flaky in presubmit

Fixes: 307662822
Test: atest OpenActivityEmbeddingPlaceholderSplitTest
Change-Id: Ibcd55c3f58c9482702581d619c37f59a8a2ce8c0
1 file changed