void function ( ) { if ( camera != null ) { FlashlightManager . disableFlashlight ( ) ; camera . release ( ) ; camera = null ; } }
closes the camera driver if still in use . concode_field_sep AutoFocusCallback autoFocusCallback concode_elem_sep String TAG concode_elem_sep int MAX_FRAME_WIDTH concode_elem_sep int MAX_FRAME_HEIGHT concode_elem_sep CameraManager cameraManager concode_elem_sep CameraConfigurationManager configManager concode_elem_sep PreviewCallback previewCallback concode_elem_sep Rect framingRectInPreview concode_elem_sep int MIN_FRAME_HEIGHT concode_elem_sep int SDK_INT concode_elem_sep boolean useOneShotPreviewCallback concode_elem_sep Context context concode_elem_sep Rect framingRect concode_elem_sep boolean initialized concode_elem_sep Camera camera concode_elem_sep boolean previewing concode_elem_sep int MIN_FRAME_WIDTH concode_field_sep void init concode_elem_sep void requestPreviewFrame concode_elem_sep void startPreview concode_elem_sep void requestAutoFocus concode_elem_sep Rect getFramingRectInPreview concode_elem_sep void closeLight concode_elem_sep void stopPreview concode_elem_sep Rect getFramingRect concode_elem_sep PlanarYUVLuminanceSource buildLuminanceSource concode_elem_sep void openLight concode_elem_sep CameraManager get concode_elem_sep void openDriver concode_elem_sep Context getContext