title: Nexus 5 (4.4.2) Flashlight LED not turning on
body: <p>I wrote a simple flashlight app that I've tested on an HTC Sensation, Nexus 7, HTC One, Moto X, Galaxy S3, Galaxy S4, and a Nexus 5. The only one that it doesn't work on is the Nexus 5. It doesn't throw an exception so finding out what's wrong is proving difficult.</p>
  
  <p>Here's the code I've been using that works on everything but:</p>
  
  <pre><code>            sCamera = Camera.open();
              sParameters = sCamera.getParameters();
              sParameters.setFlashMode(Parameters.FLASH_MODE_TORCH);
              sCamera.setParameters(sParameters);
              sCamera.startPreview();
  </code></pre>
  
  <p>And here's a screenshot of what happens in LogCat when it should be turning the LED on: <a href="http://i.imgur.com/vXn5PoH.png">http://i.imgur.com/vXn5PoH.png</a></p>
  
  <p>I've pulled the list of flash modes from the Nexus 5 and it says they are: on, off, auto, torch, and red-eye. These are as expected. I've tested with flipping between on, off, and torch, but nothing even makes the light flicker. And I know the LED isn't broken because other flashlight apps work fine.</p>