appcelerator/titanium_mobile — pull request #3270 by vishalduggal (2012-10-17 21:41:26+00:00)
Title: [TIMOB-11219] (3_0_X) Restore fullscreen before closing window and rotating

Chery Pick PR #3211 into 3_0_X

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.