mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-31 12:42:50 +08:00
Fix permission handling
This commit is contained in:
parent
8024c5de49
commit
cbe17eec21
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user