diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-09-04 16:18:23 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-09-05 23:27:36 +0200 |
commit | fcd5a4f335530605a94eb4d3e6e807ec5e5824f9 (patch) | |
tree | cb1c9fa242cc1394310eacc2c3f09b705afffa88 /package/gentoo | |
parent | 3986009cf14d94e2312a31d799c2e5d45d30a5b9 (diff) |
android: camera_device: Fix handling of request template
According to the Android camera HALv3 documentation, the request
template metadata pack should not be modified after it is returned to
the camera stack from the HAL.
Currently, the same metadata pack is used for all types of template
request, without updating the capture intent there contained to match
the requested template type, as correctly reported by the
cros_camera_test test application.
In order to avoid modifying the single request template already returned
to the camera stack in order to update the capture intent it contains,
create a map that associates a dedicated template to each supported
capture type.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'package/gentoo')
0 files changed, 0 insertions, 0 deletions