From: nicolasroard Date: Tue, 9 Oct 2012 02:29:58 +0000 (-0700) Subject: Fix crash when starting the editor X-Git-Tag: android-x86-7.1-r1~1268^2~266 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=895e13e8;p=android-x86%2Fpackages-apps-Gallery2.git Fix crash when starting the editor Bug: 7224232 CL 236429 readded offending lines after the merge... Change-Id: I670c60ba366d2c8ec343b26c65580e8900c67819 --- diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageShow.java b/src/com/android/gallery3d/filtershow/imageshow/ImageShow.java index 185ac2a3a..809585dfb 100644 --- a/src/com/android/gallery3d/filtershow/imageshow/ImageShow.java +++ b/src/com/android/gallery3d/filtershow/imageshow/ImageShow.java @@ -414,8 +414,8 @@ public class ImageShow extends View implements SliderListener, OnSeekBarChangeLi float w = image.getWidth(); float h = image.getHeight(); RectF r = new RectF(0, 0, w, h); - mImagePreset.mGeoData.setPhotoBounds(r); - mImagePreset.mGeoData.setCropBounds(r); + getImagePreset().mGeoData.setPhotoBounds(r); + getImagePreset().mGeoData.setCropBounds(r); setDirtyGeometryFlag(); }