7433e8aebd
This was introduced when I did the fading of the lock screen, which relies on setting the policy visibility of the windows behind it to be hidden. As a result, when the orientation changed or the activity was restarted, they wouldn't be resized or reported as drawn, and the activity manager would wait until its timeout before unfreezing the screen. We now have a new method on WindowState to find out if a window has drawn itself, which is used in the appropriate places. Change-Id: If05f8b1947d3029917f62ad0f89b43544bd0a4dc