New [POCO X3 NFC] The system reboot when turn on auto rotate screen


hungtrieu07

Members
Dec 18, 2022
2
3
I'm just install MIUI 13 (V13.0.1.0.SJGMIXM) yesterday. Everything working well except when I turn on auto rotate screen and horizontal rotation the phone, the screen immediately turn black and after 10 seconds, the MIUI logo appear. The bug keep happen until I turn off auto rotate.
 

Igor Eisberg

Lead Developer
Staff member
Oct 6, 2016
8,429
322
I can see the error, but not why it happens. Could be a Global ROM issue, or a hardware sensor issue. No idea.
Code:
E/AndroidRuntime(31987): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.ui
E/AndroidRuntime(31987): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.rotationresolver.RotationResolverInternal.resolveRotation(android.rotationresolver.RotationResolverInternal$RotationResolverCallbackInternal, java.lang.String, int, int, long, android.os.CancellationSignal)' on a null object reference
E/AndroidRuntime(31987): 	at com.android.server.wm.WindowOrientationListener$OrientationSensorJudge.onSensorChanged(Unknown Source:207)
E/AndroidRuntime(31987): 	at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(Unknown Source:83)
E/AndroidRuntime(31987): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(31987): 	at android.os.MessageQueue.next(Unknown Source:17)
E/AndroidRuntime(31987): 	at android.os.Looper.loopOnce(Unknown Source:6)
E/AndroidRuntime(31987): 	at android.os.Looper.loop(Unknown Source:76)
E/AndroidRuntime(31987): 	at android.os.HandlerThread.run(Unknown Source:28)
E/AndroidRuntime(31987): 	at com.android.server.ServiceThread.run(Unknown Source:12)
E/AndroidRuntime(31987): 	at com.android.server.UiThread.run(Unknown Source:8)