[Android] Don't disable sensors since it's handled at higher-level

This commit is contained in:
Jonathan De Wachter 2014-06-07 17:04:53 +02:00
parent e56d697755
commit 2874ac4aab

View File

@ -90,9 +90,6 @@ bool SensorImpl::open(Sensor::Type sensor)
// Set the event rate (not to consume too much battery) // Set the event rate (not to consume too much battery)
ASensorEventQueue_setEventRate(sensorEventQueue, m_sensor, minimumDelay.asMicroseconds()); ASensorEventQueue_setEventRate(sensorEventQueue, m_sensor, minimumDelay.asMicroseconds());
// Disable the sensor by default
setEnabled(true);
// Save the index of the sensor // Save the index of the sensor
m_index = static_cast<unsigned int>(sensor); m_index = static_cast<unsigned int>(sensor);