title: Difference between SCREEN_ORIENTATION_USER and SCREEN_ORIENTATION_SENSOR
body: <p>While developing an Android app, I've found two ActivityInfo attributes for setting the screen orientation.</p>
  
  <p>The attributes having USER are as follows:</p>
  
  <ol>
  <li>SCREEN_ORIENTATION_USER</li>
  <li>SCREEN_ORIENTATION_USER_LANDSCAPE</li>
  <li>SCREEN_ORIENTATION_USER_PORTRAIT</li>
  </ol>
  
  <p>The attributes having SENSOR are as follows:</p>
  
  <ol>
  <li>SCREEN_ORIENTATION_SENSOR</li>
  <li>SCREEN_ORIENTATION_SENSOR_LANDSCAPE</li>
  <li>SCREEN_ORIENTATION_SENSOR_PORTRAIT</li>
  </ol>
  
  <p>What is the difference between the SCREEN_ORIENTATION_USER and SCREEN_ORIENTATION_SENSOR?</p>