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

Commit 02cf079a authored by Ruben Brunk's avatar Ruben Brunk
Browse files

Revert "camera: Start/stop preview before clearing surface."

This reverts commit 6faf98e2.

Change-Id: I349882643723bd97b19249ab34d3e61989bfb371
parent da0d6a6b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -326,9 +326,6 @@ public class RequestThreadManager {
        }

        try {
            startPreview(); // If preview is not running (i.e. after a JPEG capture), we need to
                            // explicitely start and stop preview before setting preview surface.
                            // null.
            stopPreview();
        }  catch (RuntimeException e) {
            Log.e(TAG, "Received device exception in configure call: ", e);