GitHub user sencenan opened a pull request: https://github.com/apache/cordova-plugin-camera/pull/141
m: fix the crash when the uri passed into outputModifiedBitmap() is not a document URI files picked from the Gallery app is in the format of ``` content://media/external/images/media/117209 ``` This would cause ```DocumentsContract.getDocumentId``` to throw exception. [See](http://grepcode.com/file/repo1.maven.org/maven2/org.robolectric/android-all/4.4_r1-robolectric-1/android/provider/DocumentsContract.java#619) This patch fixes it. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sencenan/cordova-plugin-camera master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-camera/pull/141.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #141 ---- commit c09a8cf09b371c6071256444b81b18c10b3b70af Author: sen.ce...@gmail.com <sen.ce...@gmail.com> Date: 2015-11-30T20:18:03Z m: fix the crash when the uri passed into outputModifiedBitmap() is not a document URI ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org