Loading
Avoid waiting for drawn window without change
For example, an app is launching with starting window when keyguard is showing. Then the transition will abort because there is no visibility change. And then after keyguard prepares to dismiss (keyguardGoingAway) right after the previous transition (i.e. unlocking), the drawn starting window will be collected again. Then the starting activity becomes no drawn window. It needs to wait until the app is drawn. Bug: 290684194 Test: atest WindowOrganizerTests#testBLASTCallbackWithWindows Change-Id: I0b0141f97f8680b785e57e167de8a103e34041ca