diff --git a/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java b/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java index 45c0ad84..43edd18c 100644 --- a/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java +++ b/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java @@ -101,6 +101,7 @@ public class CameraView extends FrameLayout { setFocus(mFocus); setMethod(mMethod); setZoom(mZoom); + setPermissions(mPermissions); mDisplayOrientationDetector = new DisplayOrientationDetector(context) { @Override @@ -251,6 +252,10 @@ public class CameraView extends FrameLayout { mCameraImpl.setZoom(mZoom); } + public void setPermissions(@Permissions int permissions) { + this.mPermissions = permissions; + } + public void setJpegQuality(int jpegQuality) { this.mJpegQuality = jpegQuality; }