candrews/HttpResponseCache — Issue #2: stat tracking doesn't work
Author: candrews
Created: 2012-02-15 22:42:41+00:00
State: open

We're installing an android.net.http.HttpResponseCache, but libcore's HttpEngine uses 'instanceof libcore.net.http.HttpResponseCache' to guard calls to the trackResponse() methods. So stats tracking isn't working for HTTP response caches installed through the documented API.

It worked in the tests because they don't use the android.net wrapper. Ugh.

See https://code.google.com/p/android/issues/detail?id=25418