appcelerator/titanium_mobile — pull request #3211 by vishalduggal (2012-10-13 19:16:06+00:00)
Title: [TIMOB-11219] Restore fullscreen before closing window and rotating

Test is in [JIRA](http://jira.appcelerator.org/browse/TIMOB-11219)

It does change app behavior minimally when closing windows in tabs and switching statusBar hidden property but that is the only way to avoid the race condition.