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

Commit dec500af authored by Mark Harman's avatar Mark Harman
Browse files

Extra check.

parent 23effda2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -8061,6 +8061,11 @@ public class CameraController2 extends CameraController {
        ErrorCallback push_take_picture_error_cb = null;

        synchronized( background_camera_lock ) {
            if( camera == null || !hasCaptureSession() ) {
                if( MyDebug.LOG )
                    Log.d(TAG, "no camera or capture session");
                return;
            }
            if( MyDebug.LOG ) {
                if( use_fake_precapture_mode )
                    Log.e(TAG, "shouldn't be doing standard precapture when use_fake_precapture_mode is true!");