Orientation changes fixes and unit tests
Handle various cases in which we were misbehaving when a device has an accelerometer to provide auto-rotation.
Add a SensorsProxy mock and use it for testing rotation changes.
Handle various cases in which we were misbehaving when a device has an accelerometer to provide auto-rotation.
Add a SensorsProxy mock and use it for testing rotation changes.