diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-02-11 17:51:48 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-02-24 19:38:50 +0900 |
commit | 3d39df27a79385c6a8006a2ae29555e36720b8fd (patch) | |
tree | 65dff020a0dc76b1040da5a5701ab312f290beb3 /src/android/camera_metadata.cpp | |
parent | edc771ef2fab4ef6619dd970786681b218abdee7 (diff) |
android: camera_device: Set the camera location to Front if External
Our android HAL implementation currently does not support external
cameras, so if the camera location property is external, set it to
front.
This allows the following CTS test to pass:
- android.hardware.camera2.cts.CameraManagerTest#testCameraManagerGetDeviceIdList
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/camera_metadata.cpp')
0 files changed, 0 insertions, 0 deletions