diff options
Diffstat (limited to 'photoviewer/src/com/android/ex/photo/util/ImageUtils.java')
-rw-r--r-- | photoviewer/src/com/android/ex/photo/util/ImageUtils.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/photoviewer/src/com/android/ex/photo/util/ImageUtils.java b/photoviewer/src/com/android/ex/photo/util/ImageUtils.java index 501356e..9c1636b 100644 --- a/photoviewer/src/com/android/ex/photo/util/ImageUtils.java +++ b/photoviewer/src/com/android/ex/photo/util/ImageUtils.java @@ -86,7 +86,7 @@ public class ImageUtils { * @param uri The local URI * @param maxSize The maximum size (either width or height) * - * @return The new bitmap + * @return The new bitmap or null */ public static Bitmap createLocalBitmap(ContentResolver resolver, Uri uri, int maxSize) { // TODO: make this method not download the image for both getImageBounds and decodeStream @@ -195,3 +195,4 @@ public class ImageUtils { return resolver.openInputStream(uri); } } + |