hello,
The Android 10 accelerometer works,My device is landscape。When I scroll down, the screen rotates to the right, and when I scroll to the right, the screen rotates to the right, it rotates 90 degrees more。The accelerometer is working,How do I change the screen to rotate it all to the left?
安卓10的加速度计正常工作的,设备是横屏,当我把设备向下,屏幕向右,当我把设备向右,屏幕再向右旋转,总是多转了90度,我怎么修改让它向左旋转90度,进而校准。有参考的链接吗?
Solved! Go to Solution.
你仔细检查一下hal层的加速度数据有没有问题。
如果你的HAL层上报的加速度数据没问题,不应该出现旋转错误的现象。
谢谢你的回复,我的旋转可以了,修改的是frameworks,之前修改launcher3一直不行,也许是位置没有找对