infil00p commented on a change in pull request #309: CB-13415 (android) 
Importing corrupt images using the Camera plugin c?
URL: 
https://github.com/apache/cordova-plugin-camera/pull/309#discussion_r162432954
 
 

 ##########
 File path: src/android/CameraLauncher.java
 ##########
 @@ -943,6 +943,9 @@ private Bitmap getScaledAndRotatedBitmap(String imageUrl) 
throws IOException {
             try {
                 fileStream = FileHelper.getInputStreamFromUriString(imageUrl, 
cordova);
                 image = BitmapFactory.decodeStream(fileStream);
+            }  catch (OutOfMemoryError e) {
 
 Review comment:
   @alpesh12 You need to change this before I accept the PR.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to