Fix WRAP_CONTENT//WRAP_CONTENT case in NIV.

If the NIV is WRAP_CONTENT for both width / height,
skip the check that makes sure that it is measured before
fetching the image.
Fixed bug caused by batching responses in the ImageLoader

If the first call to batchResponse passes a VolleyError,
then all responses from that batch would show an error even
if some of them succeeded. This fixes the bug by setting the
error per BatchedImageRequest rather than for the batch.

Change-Id: I2543d2d6f4154c33ba072d7f97aee9dc67f3300e
Signed-off-by: Cameron Ketcham <cketcham@gmail.com>
Merge "Fixed bug caused by batching responses in the ImageLoader"
Merge "Fix WRAP_CONTENT//WRAP_CONTENT case in NIV."
Gradle project file.

Adds a gradle project file so that other projects can use the
volly library.

Change-Id: I22d68fff50f9073474eb6be692bf7cbd08a366ea
Fix target package name so tests run.
Merge "Fix target package name so tests run."
Add a test for DiskBasedCache.

Change-Id: I8106e5763df7e600c82c446b6ff828907fb187c1
Merge "Add a test for DiskBasedCache."
Port CacheHeader away from ObjectOutputStream.

The standard Java serialization system relies heavily on
reflection, even for primitive types and Strings, which
generates a lot of garbage. Move to a simple built-in
implementation.

Change-Id: I7f35cbfd1963f2aaf726f5b747cef1b2f8a0ad69
Merge "Port CacheHeader away from ObjectOutputStream."