--- a/frameworks/base/core/res/res/values/config.xml
+++ b/frameworks/base/core/res/res/values/config.xml
@@ -570,7 +570,7 @@
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
- <bool name="config_allowAllRotations">false</bool>
+ <bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
RK3588S Android12系统界面只能3个方向旋转
最新推荐文章于 2024-07-16 10:53:41 发布
文章讨论了Android系统中config.xml配置文件的改动,特别是将`config_allowAllRotations`参数从false更改为true,这将允许屏幕通过加速度计在所有四个方向上旋转,以适应应用请求的界面方向。
摘要由CSDN通过智能技术生成