From: Ray Chen Date: Fri, 10 Jul 2009 10:36:48 +0000 (+0800) Subject: Fix the issue 1972285: The image rotation does not update in thumbnail view immediate... X-Git-Tag: android-x86-2.2~372^2~38 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=24588aa2e489607b6942658f1b0ae0a6cfc2411a;p=android-x86%2Fpackages-apps-Camera.git Fix the issue 1972285: The image rotation does not update in thumbnail view immediately after rotation. --- diff --git a/src/com/android/camera/ImageGallery.java b/src/com/android/camera/ImageGallery.java index 813200a..dbe743d 100644 --- a/src/com/android/camera/ImageGallery.java +++ b/src/com/android/camera/ImageGallery.java @@ -769,6 +769,9 @@ public class ImageGallery extends Activity implements return; } cb.run(getCurrentImageUri(), getCurrentImage()); + rebake(false, + ImageManager.isMediaScannerScanning( + getContentResolver())); } }); if (r != null) { @@ -894,7 +897,7 @@ public class ImageGallery extends Activity implements public boolean needsDecoration() { return (mMultiSelected != null); } - + public void drawDecoration(Canvas canvas, IImage image, int xPos, int yPos, int w, int h) { if (mMultiSelected != null) {