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
This commit is contained in:
parent
b80e2c8799
commit
01a0e10026
|
@ -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<String, Pair<Integer,String>> mProducerID = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue