e636ca4d6bd101324bd95fbc817401e6e0b80a2c |
|
15-Feb-2012 |
Jesse Wilson <jessewilson@google.com> |
Introduce an ExtendedResponseCache interface. We had an ugly bug where HttpEngine was inspecting its response cache's implementation type, and calling stats tracking methods if that type permitted it. This worked for all the libcore tests, but not in practice since the public HttpResponseCache class WRAPS the libcore HttpResponseCache. The new interface makes the new APIs called by HttpEngine on its cache explicit, and permits the public android.net.HttpResponseCache to implement the API. Bug: http://code.google.com/p/android/issues/detail?id=25418 Change-Id: Ic9697af96635256e7ffc24f86628a85fbe2defd4
|