From 0f2c695c5cc23901bd9de279959807d95c5cbe5e Mon Sep 17 00:00:00 2001 From: Dylan McIntyre Date: Mon, 3 Apr 2017 22:27:05 -0400 Subject: [PATCH] add getter for permissions --- .../src/main/java/com/flurgle/camerakit/CameraView.java | 5 +++++ 1 file changed, 5 insertions(+) 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; }