commit | 895e13e85dcb156cdc4eff882e10c4497a56de1e | [log] [tgz] |
---|---|---|
author | nicolasroard <nicolasroard@google.com> | Mon Oct 08 19:29:58 2012 -0700 |
committer | nicolasroard <nicolasroard@google.com> | Mon Oct 08 19:29:58 2012 -0700 |
tree | 2dcdcf304be2fb97c84c2d063ae5208b2a613f2c | |
parent | a66df0c9e8106ef6a275e20ab2a47286e054fe7c [diff] |
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 185ac2a..809585d 100644 --- a/src/com/android/gallery3d/filtershow/imageshow/ImageShow.java +++ b/src/com/android/gallery3d/filtershow/imageshow/ImageShow.java
@@ -414,8 +414,8 @@ 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(); }