With android.hardware.Camera, in order to have the camera output appropriately track the device movement, we need to hook up an OrientationEventListener>
As you've noticed, this is supposed to "just work" for SurfaceView on the camera2 API.
As such, there's no equivalent of setDisplayOrientation().
We haven't heard of this issue before now, so a few questions: