summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/imageshow
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-08-19 17:26:38 -0700
committernicolasroard <nicolasroard@google.com>2013-08-19 17:26:38 -0700
commit929d90ca51c2856c0a8cb5a812f0e70628bb71d7 (patch)
tree554b35574bcc28b296ed40bdb5e79ee2630d350c /src/com/android/gallery3d/filtershow/imageshow
parentf8b8c708f30aeb632ef7064cc5be7c65669f1762 (diff)
downloadandroid_packages_apps_Gallery2-929d90ca51c2856c0a8cb5a812f0e70628bb71d7.tar.gz
android_packages_apps_Gallery2-929d90ca51c2856c0a8cb5a812f0e70628bb71d7.tar.bz2
android_packages_apps_Gallery2-929d90ca51c2856c0a8cb5a812f0e70628bb71d7.zip
Fix crash
bug:10390767 Change-Id: Ie300762048daffb80dee79e75a0993cae76bb839
Diffstat (limited to 'src/com/android/gallery3d/filtershow/imageshow')
-rw-r--r--src/com/android/gallery3d/filtershow/imageshow/MasterImage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
index b4cd1e0c8..fabc7b3dc 100644
--- a/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
+++ b/src/com/android/gallery3d/filtershow/imageshow/MasterImage.java
@@ -438,6 +438,9 @@ public class MasterImage implements RenderingRequestCaller {
if (mActivity.getProcessingService() == null) {
return;
}
+ if (mPreset == null) {
+ return;
+ }
mActivity.getProcessingService().postHighresRenderingRequest(mPreset,
getScaleFactor(), this);
invalidateHighresPreview();