diff options
Diffstat (limited to 'src/com/android/camera/MenuHelper.java')
-rw-r--r-- | src/com/android/camera/MenuHelper.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/MenuHelper.java b/src/com/android/camera/MenuHelper.java index 7148cd6..2bb532e 100644 --- a/src/com/android/camera/MenuHelper.java +++ b/src/com/android/camera/MenuHelper.java @@ -112,6 +112,7 @@ public class MenuHelper { public static long getImageFileSize(ImageManager.IImage image) { java.io.InputStream data = image.fullSizeImageData(); + if (data == null) return -1; try { return data.available(); } catch (java.io.IOException ex) { |