From 3db691c36312afb934463f0549a33a7eb58bf696 Mon Sep 17 00:00:00 2001 From: Yuli Huang Date: Wed, 2 May 2012 00:50:56 +0800 Subject: Fix 'Edit' and 'Crop' behaviors. 1. Make Gallery show edited local photo after resuming, similar to how it shows cropped local photo after resuming. 2. Fix inconsistency between cropping local/PWA photo. bug:6168430 Change-Id: Ia350e0c67f05969ad42f56b9693c09c3b6433d3c --- src/com/android/gallery3d/app/PhotoDataAdapter.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/com/android/gallery3d/app/PhotoDataAdapter.java') diff --git a/src/com/android/gallery3d/app/PhotoDataAdapter.java b/src/com/android/gallery3d/app/PhotoDataAdapter.java index 86ef04d17..d5a4efd6c 100644 --- a/src/com/android/gallery3d/app/PhotoDataAdapter.java +++ b/src/com/android/gallery3d/app/PhotoDataAdapter.java @@ -598,7 +598,6 @@ public class PhotoDataAdapter implements PhotoPage.Model { } } else { entry = new ImageEntry(); - entry.rotation = item.getFullImageRotation(); mImageCache.put(version, entry); } } @@ -658,7 +657,6 @@ public class PhotoDataAdapter implements PhotoPage.Model { private static class ImageEntry { public int requestedBits = 0; - public int rotation; public BitmapRegionDecoder fullImage; public ScreenNail screenNail; public Future screenNailTask; -- cgit v1.2.3