Merge "Revert "camera: Start/stop preview before clearing surface."" into mnc-dev

This commit is contained in:
Ruben Brunk
2015-05-06 21:02:35 +00:00
committed by Android (Google) Code Review

View File

@@ -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);