Fix permission handling

This commit is contained in:
Joe Bowser 2015-09-03 09:08:47 -07:00
parent 8024c5de49
commit cbe17eec21

View File

@ -1167,6 +1167,7 @@ private String ouputModifiedBitmap(Bitmap bitmap, Uri uri) throws IOException {
if(r == PackageManager.PERMISSION_DENIED) if(r == PackageManager.PERMISSION_DENIED)
{ {
this.callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.ERROR, PERMISSION_DENIED_ERROR)); this.callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.ERROR, PERMISSION_DENIED_ERROR));
return;
} }
} }
switch(requestCode) switch(requestCode)