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:
Kirwan Lyster 2017-03-31 02:49:47 -07:00 committed by Facebook Github Bot
parent b80e2c8799
commit 01a0e10026
1 changed files with 2 additions and 2 deletions

View File

@ -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<>();