alpesh12 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_r162545079
########## 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: @infil00p ok will do after testing. ---------------------------------------------------------------- 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