summaryrefslogtreecommitdiff
path: root/src/android/camera_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_device.cpp')
-rw-r--r--src/android/camera_device.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp
index e2c1f2a2..999c51e6 100644
--- a/src/android/camera_device.cpp
+++ b/src/android/camera_device.cpp
@@ -70,14 +70,8 @@ CameraDevice::~CameraDevice()
/*
* Handle RPC request received from the associated proxy.
*/
-void CameraDevice::message(Message *message)
+void CameraDevice::call(ThreadRpc *rpc)
{
- if (message->type() != ThreadRpcMessage::type())
- return Object::message(message);
-
- ThreadRpcMessage *rpcMessage = static_cast<ThreadRpcMessage *>(message);
- ThreadRpc *rpc = rpcMessage->rpc;
-
switch (rpc->tag) {
case ThreadRpc::ProcessCaptureRequest:
processCaptureRequest(rpc->request);