updated sample

pull/17/head
florent champigny 8 years ago
parent 8b8f298b81
commit 2caa1024d9
  1. 4
      camerafragment/src/main/java/com/github/florent37/camerafragment/internal/ui/BaseAnncaFragment.java

@ -424,6 +424,10 @@ public abstract class BaseAnncaFragment<CameraId> extends Fragment implements Ca
onCameraTypeFrontBackChanged(); onCameraTypeFrontBackChanged();
this.cameraController.switchCamera(cameraFace); this.cameraController.switchCamera(cameraFace);
if (cameraFragmentControlsListener != null) {
cameraFragmentControlsListener.unLockControls();
}
} }
protected void setCameraTypeFrontBack(@Configuration.CameraFace int cameraFace) { protected void setCameraTypeFrontBack(@Configuration.CameraFace int cameraFace) {

Loading…
Cancel
Save