Closed mxa closed 6 years ago
It looks like only some sensors are reported twice. Do they appear twice in the help screen as well?
What is your device and Android version?
Here is the complete list. Phone is a Sony Xperia Z3+. Emphasis mine to show the double listed items.
nfc (only appears when switched on and app is launched afterwards) acceleration magneticfield magneticfielduncalibrated gyroscope gyroscopeuncalibrated proximity light pressure accelerometer magneticfield magneticfielduncalibrated gyroscope gyroscopeuncalibrated proximity light pressure gravity linearacceleration rotationvector georotationvector orientation tiltdetector gravity linearacceleration rotationvector georotationvector orientation stepcounter stepdetector significantmotion gamerotationvector stepcounter stepdetector gamerotationvector
In the help section it says my phone has 34 available sensors. The ones that are listed twice have the suffix -WAKEUP SECONDARY
OK, I have found this and will try to fix that:
The list of all sensors present on the device is reported by the HAL implementation.
- There can be several sensors of the same type. For example, two proximity sensors or two accelerometers.
- The vast majority of applications request only a single sensor of a given type. For example, an application requesting the default accelerometer will get the first accelerometer in the list.
- Sensors are often defined by wake-up and non-wake-up pairs, both sensors sharing the same type, but differing by their wake-up characteristic.
I have no device with more than one sensor of a type, but it should be fixed now. Can you verify it?
I will test this as soon as an update propagates through f-droid, ok?
I'd rather have you test it before, as I am unable to test the fix. I will send you a test build.
Can confirm that sensors are now listed only once.
It appears as all sensors are listed twice with Sensors2OSC 0.2.0. See screenshots and note the faint scrollbar position on the right.