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

Commit 394a576a authored by Mark Harman's avatar Mark Harman
Browse files

Quick exit if null camera controller.

parent 0b552d1c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4965,6 +4965,11 @@ public class MainActivity extends AppCompatActivity {
            Log.d(TAG, "cameraSetup");
            debug_time = System.currentTimeMillis();
        }
        if( preview.getCameraController() == null ) {
            if( MyDebug.LOG )
                Log.d(TAG, "camera controller is null");
            return;
        }

        boolean old_want_no_limits = want_no_limits;
        this.want_no_limits = false;