app/src/main/java/com/quintessential/gypsy/CameraHelper.java
/*
        Stops camera preview.
        Method should only be called when state is CameraHelperState.STARTED
     */
Stops camera preview.
Method should only be called when state is CameraHelperState.STARTED
Stops camera preview . Method should only be called when state is CameraHelperState . STARTED
private void stopPreviewing() {
        Log.d(LOG_TAG, "stopPreviewing");
        if (isPreviewing) {
            safeCamera.stopPreview();
            safeCamera.setPreviewCallback(null);
            orientationHelper.disable();
        }
        isPreviewing = false;
    }
private void stopPreviewing ( ) { Log . d ( LOG_TAG , "stopPreviewing" ) ; if ( isPreviewing ) { safeCamera . stopPreview ( ) ; safeCamera . setPreviewCallback ( null ) ; orientationHelper . disable ( ) ; } isPreviewing = false ; }
Stops camera preview.
Stops camera preview .