summaryrefslogtreecommitdiff
path: root/src/android/camera_hal_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_hal_manager.cpp')
-rw-r--r--src/android/camera_hal_manager.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/android/camera_hal_manager.cpp b/src/android/camera_hal_manager.cpp
index 063080a0..a1ffb371 100644
--- a/src/android/camera_hal_manager.cpp
+++ b/src/android/camera_hal_manager.cpp
@@ -25,7 +25,7 @@ LOG_DECLARE_CATEGORY(HAL);
* and spawns its own thread where libcamera related events are dispatched to.
* It wraps the libcamera CameraManager operations and provides helpers for the
* camera_module_t operations, to retrieve the number of cameras in the system,
- * their static information and to open and close camera devices.
+ * their static information and to open camera devices.
*/
CameraHalManager::~CameraHalManager()
@@ -109,14 +109,6 @@ CameraProxy *CameraHalManager::open(unsigned int id,
return proxy;
}
-int CameraHalManager::close(CameraProxy *proxy)
-{
- proxy->close();
- LOG(HAL, Info) << "Close camera '" << proxy->id() << "'";
-
- return 0;
-}
-
unsigned int CameraHalManager::numCameras() const
{
return cameraManager_->cameras().size();