DO NOT MERGE Camera: Enable session parameter handling for Rotate&Crop
Service managed settings like Rotate&Crop are overridden just before they are sent to camera provider. The session update logic runs prior to that so it cannot detect any modifications for keys advertised as session parameters by CameraHal. Refactor the parameter override logic so it can be triggered before the request thread starts processing the requests. Additionally consolidate the specific override logic so it can be re-used by the parameter session filter during stream configuration. Specifically for Rotate&Crop incoming AUTO session values will be overridden accordingly. In case 'mOverrideToPortrait' is enabled, the Rotate&Crop session parameter value will always include the configured override. Bug: 272528553 Test: Camera CTS, Manual using Camera2Basic on CF with R&C set to AUTO. The overridden filtered R&C session value is NONE. Change-Id: I685f32e15510d69b15dc2f4749068645a4d172a0
Loading
Please register or sign in to comment