Android 获取系统自动旋转开关状态

Settings.System.getInt(getContentResolver(),Settings.System.ACCELEROMETER_ROTATION)

0关闭,1打开

猜你喜欢

转载自blog.csdn.net/qq_27494201/article/details/128317391