title: set orientation not locking to portrait
body: <p>I am building a mobile application using Cordova and Intel app framework. I try to set the orientation to portrait mode</p>
  
  <pre><code>var onDeviceReady = function () {        
      intel.xdk.device.setRotateOrientation('portrait');
      intel.xdk.device.setAutoRotate(false);
      intel.xdk.device.hideSplashScreen();
  
  };
  document.addEventListener("intel.xdk.device.ready", onDeviceReady, false);`
  </code></pre>
  
  <p>But when I check the build by installing the APK in Android 4.4, it doesnt work. It always rotate in both modes.
  Any suggestions?</p>