Revert "DO NOT MERGE ANYWHERE Add new interface for sensor physical data"
This reverts commit d4db70a7b8b2d136c46c50f89b276f8150be5fc2.
Change-Id: Ifb52d5595970a5178e12c2a90da4aac0e38f5942
diff --git a/libs/gui/ISensorServer.cpp b/libs/gui/ISensorServer.cpp
index 8cd1725..f581b5c 100644
--- a/libs/gui/ISensorServer.cpp
+++ b/libs/gui/ISensorServer.cpp
@@ -35,8 +35,7 @@
enum {
GET_SENSOR_LIST = IBinder::FIRST_CALL_TRANSACTION,
CREATE_SENSOR_EVENT_CONNECTION,
- ENABLE_DATA_INJECTION,
- SET_SENSOR_PHYSICAL_DATA,
+ ENABLE_DATA_INJECTION
};
class BpSensorServer : public BpInterface<ISensorServer>
@@ -84,16 +83,6 @@
remote()->transact(ENABLE_DATA_INJECTION, data, &reply);
return reply.readInt32();
}
-
- virtual status_t setSensorPhysicalData(const char* physicaldata)
- {
- Parcel data, reply;
- //ALOGD("ISensorManager::SetSensorPhysicalData(%s)",physicaldata);
- data.writeInterfaceToken(ISensorServer::getInterfaceDescriptor());
- data.writeCString(physicaldata);
- remote()->transact(SET_SENSOR_PHYSICAL_DATA, data, &reply);
- return reply.readInt32();
- }
};
// Out-of-line virtual method definition to trigger vtable emission in this
@@ -135,14 +124,6 @@
reply->writeInt32(static_cast<int32_t>(ret));
return NO_ERROR;
}
- case SET_SENSOR_PHYSICAL_DATA: {
- CHECK_INTERFACE(ISensorServer, data, reply);
- const char* physicaldata = data.readCString();
- //ALOGD("ISensorManager, BnSensorServer::onTransact, physicaldata is: (%s)",physicaldata);
- status_t result = setSensorPhysicalData(physicaldata);
- reply->writeInt32(result);
- return NO_ERROR;
- }
}
return BBinder::onTransact(code, data, reply, flags);
}