- 
    
Bug
 - 
    Resolution: Duplicate
 - 
    
P1: Critical
 - 
    None
 - 
    5.13.0
 - 
    None
 - 
    See attached sysinfo.txt
 
URGENT: I have an app that uses the QRotationSensor to detect when the phone is turned over.  It works in 5.12 but not in 5.13.  Upon investigation I found that the values are incorrect in both range and value.  For example, the x range is defined as [-90, 90] but I'm seeing more like [-50, 50].  When the phone is placed vertically, the x value should read 90 but I see -25.
  
 To reproduce: 
- From Qt Creator, use the example named "Qt Sensors - QML example"
 - Replace the file qmlqtsensors.qml with the attached version (replaces TiltSensor with RotationSensor).
 - Build and deploy to an Android phone.
 - Place phone flat on surface.
 - Start app. Start sensors. Expected reading: x=0, y=0. Actual reading: x=0, y=40.
 - Rotate around x axis so phone is vertical. Expected reading: x=90, y=0. Actual reading: x=-25, y=25 (ish).
 
 
 Tested on Moto G5 Plus (armv7 32 bit) and Galaxy Note 8 (armv8 64 bit)
  
 This is URGENT because Google now requires a 64 bit version for apps using native libraries.  In order to comply with that, I need to use Qt 5.13.
- duplicates
 - 
                    
QTBUG-77423 QRotationSensor reporting invalid values
-         
 - Closed
 
 -