title: Zxing in android always in landscape mode
body: <p>I'm trying to implement a barcode reader.
  <a href="https://www.youtube.com/watch?v=wfucGSKngq4&amp;list=PLYBH5YZZegIf1DzLtuFmeDFqHYsfw1h1I&amp;index=7&amp;t=232s" rel="nofollow noreferrer">https://www.youtube.com/watch?v=wfucGSKngq4&amp;list=PLYBH5YZZegIf1DzLtuFmeDFqHYsfw1h1I&amp;index=7&amp;t=232s</a>
  I've followed this tutorial, and almost everything works fine. The only issue I have is that it always opens in landscape screen, and I have absolutely no clue what I do wrong.</p>
  <pre><code>butonScanare.setOnClickListener(v -&gt; {
          IntentIntegrator integrator = new IntentIntegrator(activity);
          integrator.setCaptureActivity(CaptureActivity.class);
          integrator.setOrientationLocked(false);
          integrator.setDesiredBarcodeFormats(IntentIntegrator.ALL_CODE_TYPES);
          integrator.setPrompt(&quot;Scanare&quot;);
          integrator.initiateScan();
      });
  </code></pre>
  <p>Any clue what I'm doing wrong?</p>