From 2874ac4aabd97c38a11385d5c1dd47d9b51506c6 Mon Sep 17 00:00:00 2001 From: Jonathan De Wachter Date: Sat, 7 Jun 2014 17:04:53 +0200 Subject: [PATCH] [Android] Don't disable sensors since it's handled at higher-level --- src/SFML/Window/Android/SensorImpl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/SFML/Window/Android/SensorImpl.cpp b/src/SFML/Window/Android/SensorImpl.cpp index 11e53a8e..77810cd8 100644 --- a/src/SFML/Window/Android/SensorImpl.cpp +++ b/src/SFML/Window/Android/SensorImpl.cpp @@ -90,9 +90,6 @@ bool SensorImpl::open(Sensor::Type sensor) // Set the event rate (not to consume too much battery) ASensorEventQueue_setEventRate(sensorEventQueue, m_sensor, minimumDelay.asMicroseconds()); - // Disable the sensor by default - setEnabled(true); - // Save the index of the sensor m_index = static_cast(sensor);