I'm trying to change my layout based on whether the device is in portrait or landscape mode. I do this by looking at Screen.width vs Screen.height. In the Unity editor, and on my own Android test tablet, this works fine. But a number of my test users have Android phones that are flat-out lying, reporting the width as the height and vice versa.
Example:
![]()
Note...
Some android devices reporting swapped screen width and height
Example:

Note...
Some android devices reporting swapped screen width and height