Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a7e9f99 authored by Mark Harman's avatar Mark Harman
Browse files

Add logging.

parent f36f0af7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1800,6 +1800,8 @@ public class Preview implements SurfaceHolder.Callback, TextureView.SurfaceTextu
                    if( MyDebug.LOG )
                        Log.e(TAG, "error from CameraController: camera device failed");
                    if( camera_controller != null ) {
                        if( MyDebug.LOG )
                            Log.e(TAG, "set camera_controller to null");
                        camera_controller = null;
                        camera_open_state = CameraOpenState.CAMERAOPENSTATE_CLOSED;
                        applicationInterface.onCameraError();