Loading
SF: Fix camera orientation on virtual displays
Camera uses NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY to make the camera preview always look upright on the device display. This commit changes the behavior of this flag slightly. Instead of applying the inverse transform of the current display when compositing, apply the inverse transform of the primary display to all displays. This assumes that the camera orientation is tied to the primary display. Bug 2628180 Change-Id: I0da22423490a93fe943fd59e6c122aa6aaf30b11