mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-28 09:52:47 +08:00
[CB-2213] Add NATIVE_URI to the quick-return logic.
This commit is contained in:
parent
674b87057a
commit
23938830f7
@ -389,9 +389,9 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect
|
||||
}
|
||||
else {
|
||||
// This is a special case to just return the path as no scaling,
|
||||
// rotating or compression needs to be done
|
||||
// rotating, nor compressing needs to be done
|
||||
if (this.targetHeight == -1 && this.targetWidth == -1 &&
|
||||
this.mQuality == 100 && destType == FILE_URI && !this.correctOrientation) {
|
||||
(destType == FILE_URI || destType == NATIVE_URI) && !this.correctOrientation) {
|
||||
this.callbackContext.success(uri.toString());
|
||||
} else {
|
||||
// Get the path to the image. Makes loading so much easier.
|
||||
|
Loading…
x
Reference in New Issue
Block a user