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>
This commit is contained in:
committed by
Laurent Pinchart
parent
1f1d27cc14
commit
53eab99680
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user