summaryrefslogtreecommitdiff
path: root/libqservice
diff options
context:
space:
mode:
Diffstat (limited to 'libqservice')
-rw-r--r--libqservice/IQService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libqservice/IQService.cpp b/libqservice/IQService.cpp
index 5e67b15c..e4aee7af 100644
--- a/libqservice/IQService.cpp
+++ b/libqservice/IQService.cpp
@@ -48,7 +48,7 @@ public:
ALOGD_IF(QSERVICE_DEBUG, "%s: connect HWC client", __FUNCTION__);
Parcel data, reply;
data.writeInterfaceToken(IQService::getInterfaceDescriptor());
- data.writeStrongBinder(client->asBinder());
+ data.writeStrongBinder(IInterface::asBinder(client));
remote()->transact(CONNECT_HWC_CLIENT, data, &reply);
}
@@ -56,7 +56,7 @@ public:
ALOGD_IF(QSERVICE_DEBUG, "%s: connect HDMI client", __FUNCTION__);
Parcel data, reply;
data.writeInterfaceToken(IQService::getInterfaceDescriptor());
- data.writeStrongBinder(client->asBinder());
+ data.writeStrongBinder(IInterface::asBinder(client));
remote()->transact(CONNECT_HDMI_CLIENT, data, &reply);
}