int ar = Settings.System.getInt(context.getContentResolver(), Settings.System.ACCELEROMETER_ROTATION, 0);
ar:0 屏幕方向鎖定get
ar: 1 屏幕方向未鎖定co