diff --git a/android/plugins/network/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java b/android/plugins/network/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java index 242c45fd923..31f4c3863ff 100644 --- a/android/plugins/network/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java +++ b/android/plugins/network/src/main/java/com/facebook/flipper/plugins/network/NetworkFlipperPlugin.java @@ -19,8 +19,7 @@ public class NetworkFlipperPlugin extends BufferingFlipperPlugin implements NetworkReporter { public static final String ID = "Network"; private static final int MAX_BODY_SIZE_IN_BYTES = 1024 * 1024; - - private final List mFormatters; + private List mFormatters; public NetworkFlipperPlugin() { this(null); @@ -35,6 +34,10 @@ public String getId() { return ID; } + public void setFormatters(List formatters) { + mFormatters = formatters; + } + @Override public void reportRequest(final RequestInfo requestInfo) { (new ErrorReportingRunnable(getConnection()) {