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

Commit 70a94310 authored by Mina Karadzic's avatar Mina Karadzic
Browse files

Separate compat checks in CameraManager.

LandscapeToPortrait should only be used for landscape cameras. WindowManager requests the dynamic camera compat treatment using CameraCompatibilityInfo, and checks whether the treatment is allowed via device config before requesting it.

Flag: com.android.window.flags.enable_camera_compat_compatibility_info_rotate_and_crop_bugfix
Fixes: 435181981
Fixes: 425491882
Test: manual debugging, made sure landscape treatment cannot trigger for portrait devices
Change-Id: I360ce81ac604a956a2133115bd1cf47ae26bbffc
parent dd4a629a
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