title: Switching camera to front face causes to failure taking a picture in camera2
body: <p>i am trying to change camera2 basic example so camera starts showing preview on FACING_FRONT, but in that case snapshot stops working. </p>
  
  <p>Here is a link to the example:
  <a href="https://github.com/pinguo-yuyidong/Camera2/blob/master/camera2/src/main/java/us/yydcdut/camera2" rel="nofollow">https://github.com/pinguo-yuyidong/Camera2/blob/master/camera2/src/main/java/us/yydcdut/camera2</a></p>
  
  <p>I am sure, that besides cameraId change i need a lot more additional changes, but i couldn't find what else.</p>