summaryrefslogtreecommitdiffstats
path: root/libs/gui/ISensorServer.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-07-21 16:09:55 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-21 16:09:55 -0700
commitbc54e63c84a517f0dca88ba900ff2b56719f685b (patch)
tree791b80d51eb70978efb8bb046b3e0a52637f5019 /libs/gui/ISensorServer.cpp
parent7da38863d4382746090bf50413b1774ab04f6bc1 (diff)
parente4764521353e898554931a557460fc49209fb0a9 (diff)
downloadframeworks_base-bc54e63c84a517f0dca88ba900ff2b56719f685b.zip
frameworks_base-bc54e63c84a517f0dca88ba900ff2b56719f685b.tar.gz
frameworks_base-bc54e63c84a517f0dca88ba900ff2b56719f685b.tar.bz2
am e4764521: Merge "new SensorService" into gingerbread
Merge commit 'e4764521353e898554931a557460fc49209fb0a9' into gingerbread-plus-aosp * commit 'e4764521353e898554931a557460fc49209fb0a9': new SensorService
Diffstat (limited to 'libs/gui/ISensorServer.cpp')
-rw-r--r--libs/gui/ISensorServer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/gui/ISensorServer.cpp b/libs/gui/ISensorServer.cpp
index c6177bc..7111092 100644
--- a/libs/gui/ISensorServer.cpp
+++ b/libs/gui/ISensorServer.cpp
@@ -48,6 +48,7 @@ public:
virtual Vector<Sensor> getSensorList()
{
Parcel data, reply;
+ data.writeInterfaceToken(ISensorServer::getInterfaceDescriptor());
remote()->transact(GET_SENSOR_LIST, data, &reply);
Sensor s;
Vector<Sensor> v;
@@ -63,6 +64,7 @@ public:
virtual sp<ISensorEventConnection> createSensorEventConnection()
{
Parcel data, reply;
+ data.writeInterfaceToken(ISensorServer::getInterfaceDescriptor());
remote()->transact(CREATE_SENSOR_EVENT_CONNECTION, data, &reply);
return interface_cast<ISensorEventConnection>(reply.readStrongBinder());
}