apache/cordova-plugin-camera — pull request #3 by kworam (2013-10-02 21:59:56+00:00)
Title: catch and ignore OutOfMemoryError in getRotatedBitmap()

getRotatedBitmap() can run out of memory if the image is very large:

http://simonmacdonald.blogspot.ca/2012/07/change-to-camera-code-in-phonegap-190.html

If this happens, simply do not rotate the image and return it unmodified. If you do not catch the OutOfMemoryError, the Android app crashes.