WhisperSystems/TextSecure — pull request #1079 by tkohlmeier (2014-03-07 12:03:57+00:00)
Title: Fix for issue 973 (Sharing photos are in wrong format on the Galaxy S3)

I am using the orientation information, that is stored in the MediaStore, to rotate the thumbnail.