title: pm.hasSystemFeature(PackageManager.FEATURE_CAMERA_ANY) not giving corerct answer
body: <p>I want to check if a device has any cameras before trying to open a qr code reader.</p>
  
  <p>I have the following code:</p>
  
  <pre><code> public boolean checkDeviceCompatibility() {
  
  PackageManager pm = context.getPackageManager();
  
  if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA_ANY)) {
      if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) {
      return true;
      } else {
      // use front camera
      Toast.makeText(
          context,
          "This device does not have a back camera so it has automatically reverted to the front camera",
          Toast.LENGTH_SHORT).show();
      return true;
      }
  } else {
      util.displayErrorDialog(
          context,
          "This device does not have any cameras and therefore cannot make use of the QR Code feature.");
      return false;
  }
  }
  </code></pre>
  
  <p>But now if I run this code in debug mode on my galaxy S3 with two cameras. the first if statement is returned false.</p>
  
  <p>Why could this be?</p>