Android 获取锁定屏幕系统设置方法

int ar = Settings.System.getInt(context.getContentResolver(),
        Settings.System.ACCELEROMETER_ROTATION, 0);

ar:0 屏幕方向锁定get

ar: 1 屏幕方向未锁定co

相关文章
相关标签/搜索