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
Loading
Please register or sign in to comment