summaryrefslogtreecommitdiff
path: root/libqservice
diff options
context:
space:
mode:
authorAjay Dudani <adudani@codeaurora.org>2015-04-08 19:29:29 -0700
committerArun Kumar K.R <akumarkr@codeaurora.org>2015-08-04 16:56:25 -0700
commit6c5151271fdda152e76530dd4e37b0bf44afc95a (patch)
treef693a971a529bc351ff16114bd5067486930fe96 /libqservice
parent6203161ba8ae6bad8f7b44eb821aa154b63b430b (diff)
downloaddisplay-6c5151271fdda152e76530dd4e37b0bf44afc95a.tar.gz
Switch over to using static binder interface.
Change-Id: I8af23b1c59aa18154db1ba5e0004dc9d23a5a9b8
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);
}