Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9441d62f authored by Ashutosh Joshi's avatar Ashutosh Joshi
Browse files

Revert "Add a second thread for sensor service."

This reverts commit 0da2531b.

Change-Id: Id356ab9e0b7cf6b2275afc5855e648d322e3bf60
parent 0da2531b
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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>();
}