title: How to enable only portrait and reverse portrait in phones, "sensorPortrait" not working on phones?
body: <p>I cant figure out why setting "sensorPortrait" attribute in manifest for an activity doesn't work to allow the activity to go into reverse portrait. This is how I set in manifest</p>
  
  <pre><code>    &lt;activity
          android:name=".MainActivty"
          android:label="Testing"
          android:screenOrientation="sensorPortrait"
          android:windowSoftInputMode="stateHidden"
          android:configChanges="orientation"&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>The above code is not working for me to get both reversePortrait and portrait on Moto E(4.4.4) or Galaxy S3(4.3), but I can confirm it works on a Nexus 7(5.0.1) tablet, I tried several other answers but this one seems to be the easiest and it is seemingly not working for me on 'phones', am I missing some information that is relevant for getting this to work?</p>
  
  <p>I tried the following link which is just as similar as my question but nothing seems helpful regarding this</p>
  
  <p><a href="https://stackoverflow.com/questions/7686512/activity-in-portrait-or-reverse-portrait-only">Activity in portrait or reverse portrait only</a></p>
  
  <p>Currently with the flag "sensorPortrait" it behaves just like setting "portrait", in phones.</p>