title: Bitmap Not Reading EXIF Data on Decode
body: <p><strong>My Problem</strong> </p>
  
  <p>I have a series of Bitmaps that I would like to load up in the correct orientation. </p>
  
  <p>When I save the image I go in and set the orientation attribute using the <code>ExifInterface</code></p>
  
  <pre><code>            ExifInterface exif = new ExifInterface(EXTERNAL_IMAGE_PATH+File.separator+this._currentPhotoName+JPEG_FILE_SUFFIX);
              int rotation = CCDataUtils.exifToDegrees(exif.getAttributeInt(ExifInterface.TAG_ORIENTATION,ExifInterface.ORIENTATION_NORMAL));
              Log.v("PhotoManager", "Rotation:"+rotation);
              if (rotation &gt; 0) {
                  exif.setAttribute(ExifInterface.TAG_ORIENTATION,String.valueOf(0));
  </code></pre>
  
  <p>This works fine and if I was to pull this image off of my device it would be in the correct orientation. However, when I then decode my Bitmap later down the line it stays in the camera's default orientation of left-horizontal even if the image was taken in portrait?</p>
  
  <p><strong>My Question</strong></p>
  
  <p>How can I decode the bitmap and take into account its EXIF information?</p>
  
  <p>I don't want to have to rotate the image after I decode it every time as I would have to create another Bitmap and that is memory I don't have.</p>
  
  <p>Thanks in advance.</p>