Fixing regression where the proper rotation check was not being done. (Bug 6422040)

Change-Id: Iadc9a886b84c4418750dc365298944f76c564587
3 files changed