Revert "Add a second thread for sensor service."
This reverts commit 0da2531b9fceb7f648103c85794d277e9f466775.
Change-Id: Id356ab9e0b7cf6b2275afc5855e648d322e3bf60
diff --git a/sensors/1.0/default/service.cpp b/sensors/1.0/default/service.cpp
index 65f6d81..5bcfe4b 100644
--- a/sensors/1.0/default/service.cpp
+++ b/sensors/1.0/default/service.cpp
@@ -23,9 +23,5 @@
using android::hardware::defaultPassthroughServiceImplementation;
int main() {
- /* Sensors framework service needs at least two threads.
- * One thread blocks on a "poll"
- * The second thread is needed for all other HAL methods.
- */
- return defaultPassthroughServiceImplementation<ISensors>(2);
+ return defaultPassthroughServiceImplementation<ISensors>();
}