Fixes for migrating to Buck's source-only ABI feature
@@ -18,6 +18,7 @@ import com.facebook.imagepipeline.producers.BaseNetworkFetcher;
import com.facebook.imagepipeline.producers.BaseProducerContextCallbacks;
import com.facebook.imagepipeline.producers.Consumer;
import com.facebook.imagepipeline.producers.FetchState;
+import com.facebook.imagepipeline.producers.NetworkFetcher;
import com.facebook.imagepipeline.producers.ProducerContext;
import com.squareup.okhttp.CacheControl;
import com.squareup.okhttp.Call;
@@ -77,7 +78,8 @@ public class OkHttpNetworkFetcher extends
}
@Override
- public void fetch(final OkHttpNetworkFetchState fetchState, final Callback callback) {
+ public void fetch(
+ final OkHttpNetworkFetchState fetchState, final NetworkFetcher.Callback callback) {
fetchState.submitTime = SystemClock.uptimeMillis();
final Uri uri = fetchState.getUri();
@@ -96,7 +98,7 @@ public class OkHttpNetworkFetcher extends
protected void fetchWithRequest(
final OkHttpNetworkFetchState fetchState,
- final Callback callback,
+ final NetworkFetcher.Callback callback,
final Request request) {
final Call call = mOkHttpClient.newCall(request);
