diff options
Diffstat (limited to 'src/com/android/camera/ImageManager.java')
-rw-r--r-- | src/com/android/camera/ImageManager.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/camera/ImageManager.java b/src/com/android/camera/ImageManager.java index 225a249..45ffd26 100644 --- a/src/com/android/camera/ImageManager.java +++ b/src/com/android/camera/ImageManager.java @@ -248,8 +248,7 @@ public class ImageManager { return cr.insert(STORAGE_URI, values); } - public static void storeImage( - Uri uri, ContentResolver cr, int orientation, + public static void storeImage(Uri uri, ContentResolver cr, Bitmap source, byte [] jpegData) { if (source == null && jpegData == null || uri == null) { @@ -278,8 +277,7 @@ public class ImageManager { } finally { c.close(); } - image.saveImageContents( - source, jpegData, orientation, true, filepath); + image.saveImageContents(source, jpegData, true, filepath); ContentValues values = new ContentValues(); values.put(ImageColumns.MINI_THUMB_MAGIC, 0); |