phonegap/phonegap-android — pull request #276 by willshen (2011-10-21 02:36:13+00:00)
Title: Modified createCaptureFile in CameraLauncher to Improve Encoding Type Safety

Changed createCaptureFile to explicitly check for PNG and to throw an IllegalArgumentException if it is not a JPEG nor a PNG