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

Commit eafdf4df authored by Aniroop Mathur's avatar Aniroop Mathur Committed by android-build-merger
Browse files

Merge "Native: Sensor: For ndk sensor enable request, enable sensor with...

Merge "Native: Sensor: For ndk sensor enable request, enable sensor with SENSOR_DELAY_NORMAL delay instead of 0 delay, by default " into nyc-dev am: ec3c05b2
am: 6bd4bf76

* commit '6bd4bf76':
  Native: Sensor: For ndk sensor enable request, enable sensor with SENSOR_DELAY_NORMAL delay instead of 0 delay, by default
parents a57bf073 6bd4bf76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ status_t SensorEventQueue::wake() const
}

status_t SensorEventQueue::enableSensor(Sensor const* sensor) const {
    return mSensorEventConnection->enableDisable(sensor->getHandle(), true, 0, 0, false);
    return mSensorEventConnection->enableDisable(sensor->getHandle(), true, us2ns(200000), 0, false);
}

status_t SensorEventQueue::disableSensor(Sensor const* sensor) const {