Allow callers to set value of notifyAuthFailure

Since a caller might want AndroidAuthenticator to show a notification
instead of delivering an error, allow it to be specified.

Change-Id: I9232668f4e8e83b46da2c2fb1c678246c735f200
Don't requestLayout in layout pass in NIV
Allow override point for connection creation.

This provides an easy insertion point for alternate implementations
of the HttpUrlConnection API (e.g., OkHttp).

Change-Id: I84482c7a66ce7106680d2efc9865743b8ecb0248
Merge "Allow override point for connection creation."
Allow custom HttpStack in Volley.newRequestQueue.

Add a variant method that allows the user to pass in
an HttpStack to be passed to BasicNetwork. Makes using
alternative stacks like OkHttp easier.
Merge "Don't requestLayout in layout pass in NIV"
Merge "Allow custom HttpStack in Volley.newRequestQueue."
adding isCached function to ImageLoader

Change-Id: I771a608910a7b2b1dc1fe1d30395a7bb0738592e
Merge "adding isCached function to ImageLoader"
Merge "Allow callers to set value of notifyAuthFailure"
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