cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thehuijb <...@git.apache.org>
Subject [GitHub] cordova-plugin-camera pull request: feature CB-8777 Add option onl...
Date Sun, 08 Nov 2015 13:49:55 GMT
Github user thehuijb commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/80#discussion_r44224879
  
    --- Diff: src/android/CameraLauncher.java ---
    @@ -270,18 +279,20 @@ public void getImage(int srcType, int returnType, int encodingType)
{
             croppedUri = null;
             if (this.mediaType == PICTURE) {
                 intent.setType("image/*");
    -            if (this.allowEdit) {
    +            if (this.onlyGalleries) {
    --- End diff --
    
    you're probably right, but since the allowEdit option was already forcing the galleries
only option, I thought this way would have the least impact 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message