appcelerator/titanium_mobile — pull request #3427 by alg (2012-11-15 10:16:53+00:00)
Title: [TIMOB-1510] Clean up temporary files and avoid saving to SD card if possible.

Backport of 1ab989c to 2.1.X branch.

We don't need to write the image data to the FS if using our
customer overlay activity IF the user does not want it saved
to the photo gallery.