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

Commit c85c9cfd authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Merge branch '5555-Camera_not_working_on_some_device_issue' into 'master'

5555-Camera_not_working_on_some_device_issue

See merge request !39
parents 267a2bd7 4f805822
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1202,7 +1202,7 @@ public class Preview implements SurfaceHolder.Callback, TextureView.SurfaceTextu
                if (MyDebug.LOG) {
                    Log.d(TAG, "closeCamera: about to pause preview: " + (System.currentTimeMillis() - debug_time));
                }
                pausePreview(false);
                pausePreview(true);
                // we set camera_controller to null before starting background thread, so that other callers won't try
                // to use it
                final CameraController camera_controller_local = camera_controller;