Has anyone else managed to break screen auto rotation? I'm not sure how I did it, but my auto-rotation is no longer working.
The sensor is functional and I can see it changing/reporting with an app that directly reads the sensor output, but something broke auto-rotation in the OS.
It's not a setting issue. The system is correctly set to auto-rotate.
I was restoring apps from backups and doing other basic system setup things with my device. I think one of these things broke it. It was working before.
I have one app which manually sets the rotation to 90 degrees when it runs. When I quit the app the screen stays rotated forever unless I manually go into settings and disable/re-enable auto rotation under Accessiblity, System controls, Auto-rotate screen. Doing that puts the rotation back to 0, but it still doesn't auto-rotate.
I may have to wipe, start over, and test as I'm restoring and setting things up.
Logcat doesn't seem to show anything interesting going on.