mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-21 15:53:54 +03:00
android: hal_manager: Report supported API version
Report the supported API version in the camera_info structure provided to the framework. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
a7b9277e45
commit
0ffb3a20ed
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ int CameraHalManager::getCameraInfo(unsigned int id, struct camera_info *info)
|
|||
/* \todo Get these info dynamically inspecting the camera module. */
|
||||
info->facing = id ? CAMERA_FACING_FRONT : CAMERA_FACING_BACK;
|
||||
info->orientation = 0;
|
||||
info->device_version = 0;
|
||||
info->device_version = CAMERA_DEVICE_API_VERSION_3_3;
|
||||
info->resource_cost = 0;
|
||||
info->static_camera_characteristics = camera->getStaticMetadata();
|
||||
info->conflicting_devices = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue