@Override
        public void run() {
            try {
                Log.d(TAG, "Configuring camera");
                cameraManager.configure();
                if (readyHandler != null) {
                    readyHandler.obtainMessage(R.id.zxing_prewiew_size_ready, getPreviewSize()).sendToTarget();
                }
            } catch (Exception e) {
                notifyError(e);
                Log.e(TAG, "Failed to configure camera", e);
            }
        }
Changes the settings for Camera.

@param callback {@link CameraParametersCallback}
zxing-android-embedded/src/com/journeyapps/barcodescanner/camera/CameraInstance.java