ContentResolver resolver = getContentResolver();
int userRotation = Settings.System.getInt(resolver, Settings.System.ACCELEROMETER_ROTATION, 0);
List<Sensor> list = sensorMgr.getSensorList(Sensor.TYPE_ACCELEROMETER);
int userRotation = Settings.System.getInt(resolver, Settings.System.ACCELEROMETER_ROTATION, 0);
List<Sensor> list = sensorMgr.getSensorList(Sensor.TYPE_ACCELEROMETER);