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

Skip to content
Commit d865f0d7 authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Enable session parameter handling for Rotate&Crop and

Autoframing

Service managed settings like Rotate&Crop and Autoframing 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.
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
Bug: 274929202
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
parent 49ae1e4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment