From cbe17eec213c810695f257a93799a2fb88111def Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Thu, 3 Sep 2015 09:08:47 -0700 Subject: [PATCH] Fix permission handling --- src/android/CameraLauncher.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index 981efcc..28e96bc 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -1167,6 +1167,7 @@ private String ouputModifiedBitmap(Bitmap bitmap, Uri uri) throws IOException { if(r == PackageManager.PERMISSION_DENIED) { this.callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.ERROR, PERMISSION_DENIED_ERROR)); + return; } } switch(requestCode)