appcelerator/titanium_mobile — pull request #809 by sptramer (2011-12-02 02:09:23+00:00)
Title: [TIMOB-6391] Update the orientation history correctly when manually forcing orientation changes

Looks like we were never updating the orientation history information when manually rotating, which is technically "more correct" for Titanium than checking the current status bar orientation (due to weirdness where we manually force views into an orientation outside of the current device orientation).

In fact, anywhere that we check the current status bar orientation, we should probably be checking the rotation history instead.