Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73373504 authored by Mina Granic's avatar Mina Granic
Browse files

Add a flag to specify rotate-and-crop rotation degrees.

For landscape foldables, and portrait tablets whose main
landscape orientation is 270 degrees, rotate-and-crop is 90.
However, most portrait devices work best in landscape rotation 90,
therefore it is important to be able to specify rotate-and-crop=270.

Rotation data will be sent from Window Manager (system process), and accessed in the Camera Framework (mainly CameraManager in the app process), as the display rotation might be sandboxed for the app process as part of the camera compat treatment, and Camera Manager might not be able to access the real display rotation.

Flag: EXEMPT flag creation
Bug: 395047103
Test: N/A
Change-Id: If08c61cfb10206f9693ce063b32a8d43fed75aa4
parent 069fc783
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment