public void setShowMissingCameraPermissionDialog(boolean visible) {
        setShowMissingCameraPermissionDialog(visible, "");
    }
If set to true, shows the default error dialog if camera permission is missing.
<p>
If set to false, instead the capture manager just finishes.
<p>
In both cases, the activity result is set to {@link Intents.Scan#MISSING_CAMERA_PERMISSION}
and cancelled
zxing-android-embedded/src/com/journeyapps/barcodescanner/CaptureManager.java