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


Dec 18, 2022
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
I can see the error, but not why it happens. Could be a Global ROM issue, or a hardware sensor issue. No idea.
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$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 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 Source:28)
E/AndroidRuntime(31987): 	at Source:12)
E/AndroidRuntime(31987): 	at Source:8)