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

* commit '0a323036e2351ce4e9347ca1a1b5664e0f6e7672':
  Revert "camera: Start/stop preview before clearing surface."
This commit is contained in:
Ruben Brunk
2015-05-06 21:07:24 +00:00
committed by Android Git Automerger

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