While testing a Samsung Galaxy J7 running API 27, I noticed that depending on the direction I turn the phone to achieve a landscape orientation, the rotation of the camera preview differs. When turning from portrait up, it is correct. When turning from portrait down, it is not correct. I tested a Pixel 3A running API 32, I did not notice this issue.
I did some light debugging and saw that the device orientation is being reported correctly from the platform side, so this seems to be a native Surface issue. TBD if this is a regression.