summaryrefslogtreecommitdiff
path: root/src/android/camera_proxy.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-10-27 02:01:08 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-30 02:37:37 +0200
commit53eab996809e826bc914e4c34c78fe74d86f8dc4 (patch)
tree26442c7a7115f4d42f82fbb0c6bc3c6c61e79b30 /src/android/camera_proxy.h
parent1f1d27cc14bb1ed7b74c541e523d8f77b0a98dbb (diff)
android: Replace ThreadRPC with blocking method call
Use the newly introduced InvocationTypeBlocking message type to replace the blocking message delivery implemented with the ThreadRPC class in the Android camera HAL. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/android/camera_proxy.h')
-rw-r--r--src/android/camera_proxy.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/android/camera_proxy.h b/src/android/camera_proxy.h
index 7940eac4..e8cfbc9d 100644
--- a/src/android/camera_proxy.h
+++ b/src/android/camera_proxy.h
@@ -14,7 +14,6 @@
#include <libcamera/camera.h>
class CameraDevice;
-class ThreadRpc;
class CameraProxy
{
@@ -35,8 +34,6 @@ public:
camera3_device_t *camera3Device() { return &camera3Device_; }
private:
- void threadRpcCall(ThreadRpc &rpcRequest);
-
unsigned int id_;
CameraDevice *cameraDevice_;
camera3_device_t camera3Device_;