title: stopPreview/takePhoto stops freezing image after setPictureSize to camera parameters
body: <p>So I am making an application where you can take some pictures.</p>
  
  <p>I had everything working as it should besides of the PictureSize.
  After you take a picture, the preview is supposed to freeze with the last image taken, just like TakePhoto usually do for you. This works as it should until i do <code>parameters.setPictureSize</code> in this method:</p>
  
  <pre><code>public void setupCameraParameters() {
          Camera.Parameters parameters = mCamera.getParameters();
          Camera.Size preSize = determineBestPreviewSize(parameters);
          Camera.Size picSize = determineBestPictureSize(parameters);
  
          parameters.setPreviewSize(preSize.width, preSize.height);
          parameters.setPictureSize(picSize.width, picSize.height);
          parameters.setRotation(90);
          mCamera.setParameters(parameters);
      }
  </code></pre>
  
  <p>This gives my pictures the correct sizes, however what happends now is that my preview doesn't freeze after TakePhoto is called, it just keeps feeding from my camera.</p>
  
  <p>I have even tried doing <code>mCamera.stopPreviewing()</code> without any freezing images. If i release the camera, the image gets black as it should do so I really am working on the right camera-instance as well.</p>
  
  <p>Is there any documentation I have missed? Have someone else entered this problem before.</p>
  
  <p>EDIT:
  So I got back my xperia z3 compact from repair and checked this issue again. On z3 this never is an issue, the code will take a picture and then freeze the preview like I want it to. My other phone was a HTC one (m7).</p>