mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Camera default destination should be FILE_URI
This commit is contained in:
@@ -127,7 +127,7 @@ Camera.prototype.getPicture = function(successCallback, errorCallback, options)
|
||||
options.maxResolution = 0;
|
||||
}
|
||||
if (options.destinationType === null || typeof options.destinationType === "undefined") {
|
||||
options.destinationType = Camera.DestinationType.DATA_URL;
|
||||
options.destinationType = Camera.DestinationType.FILE_URI;
|
||||
}
|
||||
if (options.sourceType === null || typeof options.sourceType === "undefined") {
|
||||
options.sourceType = Camera.PictureSourceType.CAMERA;
|
||||
|
||||
Reference in New Issue
Block a user