Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F41418EE7 for ; Wed, 14 Oct 2015 12:19:45 +0000 (UTC) Received: (qmail 93559 invoked by uid 500); 14 Oct 2015 12:13:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 93495 invoked by uid 500); 14 Oct 2015 12:13:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 93233 invoked by uid 99); 14 Oct 2015 12:13:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2015 12:13:05 +0000 Date: Wed, 14 Oct 2015 12:13:05 +0000 (UTC) From: "gao (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-9796) allowEdit not work in plugin camera MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 gao created CB-9796: ----------------------- Summary: allowEdit not work in plugin camera Key: CB-9796 URL: https://issues.apache.org/jira/browse/CB-9796 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera Affects Versions: 1.2.0 Environment: android Reporter: gao option =3D {quality: 30,sourceType: Camera.PictureSourceType.CAMERA,destina= tionType: Camera.DestinationType.FILE_URI,encodingType: Camera.EncodingType= .JPEG,mediaType: Camera.MediaType.PICTURE}; take picture > modify picture > return the url the url returned is the piture not midify and i found CameraLauncher.java line 445=EF=BC=9A bitmap =3D getScaledBitmap(FileHelper.stripFileProtocol(imageUri.toString()= )); modify it: if(allowEdit && croppedUri !=3D null){ bitmap =3D getScaledBitmap(FileHelper.stripFileProtocol(croppedUri.toSt= ring())); }else{ bitmap =3D getScaledBitmap(FileHelper.stripFileProtocol(imageUri.toStri= ng())); } bug fixed -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org