diff options
author | Ficus Kirkpatrick <ficus@android.com> | 2013-08-20 18:45:03 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-08-20 18:45:03 +0000 |
commit | 4c2fe1379f5d18bac2d27e89d4abb553e6f8d2e8 (patch) | |
tree | a05987115a5295ea666dab166327b492ea19995e | |
parent | 9c36bfe7daaa4b0274bc1cfc3bf596704442d489 (diff) | |
parent | 7c8e29e4cc2219275042a228abea0657bb7633cd (diff) | |
download | volley-tools_r22.2.tar.gz |
Merge "ImageRequest.doParse() now adds NetworkResponse to all ParseError created"tools_r22.2
-rw-r--r-- | src/com/android/volley/toolbox/ImageRequest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/volley/toolbox/ImageRequest.java b/src/com/android/volley/toolbox/ImageRequest.java index b70c906..2ebe015 100644 --- a/src/com/android/volley/toolbox/ImageRequest.java +++ b/src/com/android/volley/toolbox/ImageRequest.java @@ -175,7 +175,7 @@ public class ImageRequest extends Request<Bitmap> { } if (bitmap == null) { - return Response.error(new ParseError()); + return Response.error(new ParseError(response)); } else { return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); } |