Loading sensors/1.0/default/service.cpp +1 −5 Original line number Diff line number Diff line Loading @@ -23,9 +23,5 @@ using android::hardware::sensors::V1_0::ISensors; 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>(); } Loading
sensors/1.0/default/service.cpp +1 −5 Original line number Diff line number Diff line Loading @@ -23,9 +23,5 @@ using android::hardware::sensors::V1_0::ISensors; 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>(); }