From 01a0e1002633021aafcb69fd2c10f1e893fb2dd8 Mon Sep 17 00:00:00 2001 From: Kirwan Lyster Date: Fri, 31 Mar 2017 02:49:47 -0700 Subject: [PATCH] Make SystraceRequestListener extend BaseRequestListener Summary: Instead of `SystraceRequestListener` implementing `RequestListener`, this diff instead extends the base implementation. Reviewed By: massimocarli Differential Revision: D4796679 fbshipit-source-id: 0c9a0b755f4beff69007688962682989e5af72e0 --- .../react/modules/fresco/SystraceRequestListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/SystraceRequestListener.java b/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/SystraceRequestListener.java index 314a4dffa..253a361f6 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/SystraceRequestListener.java +++ b/ReactAndroid/src/main/java/com/facebook/react/modules/fresco/SystraceRequestListener.java @@ -7,14 +7,14 @@ import java.util.Map; import android.util.Pair; -import com.facebook.imagepipeline.listener.RequestListener; +import com.facebook.imagepipeline.listener.BaseRequestListener; import com.facebook.imagepipeline.request.ImageRequest; import com.facebook.systrace.Systrace; /** * Logs requests to Systrace */ -public class SystraceRequestListener implements RequestListener { +public class SystraceRequestListener extends BaseRequestListener { int mCurrentID = 0; Map> mProducerID = new HashMap<>();