commit | f3d7e730f96a7cfd7c59d4012e975a633c0ffeef | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Tue Nov 29 12:50:18 2022 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Nov 29 17:43:48 2022 -0800 |
tree | f8ebf633a3625e2c6a03416e86f996dd51e246da | |
parent | ed7469bbdff6de3281ad9dd33e3af069e06ac809 [diff] |
Camera: Use focalLength in CaptureResult for CameraParameters With logical multi-camera, the focal length of the camera may change depending on zoom/crop setting or foldable's fold/unfold state. For Camera1-HAL3 path, update the FOCAL_LENGTH field in camera parameters based on capture result. Test: CameraTest#testVideoSnapshot on a foldable phone Bug: 254611744 Change-Id: Ibec44c0a738faeb0f768fe30109a45921d878c31