Instrumentation tests for apps that provide a testPayload
Reviewed By: AaaChiuuu Differential Revision: D4873849 fbshipit-source-id: b5235b952faea2e42fb4292fac4ca409e22ecb56
This commit is contained in:
parent
9c44630866
commit
1dc0f7e994
|
@ -5,6 +5,7 @@ package com.facebook.react.bridge;
|
|||
import javax.annotation.Nullable;
|
||||
|
||||
import com.facebook.proguard.annotations.DoNotStrip;
|
||||
|
||||
/**
|
||||
* Static class that allows markers to be placed in React code and responded to in a
|
||||
* configurable way
|
||||
|
@ -25,6 +26,11 @@ public class ReactMarker {
|
|||
sMarkerListener = listener;
|
||||
}
|
||||
|
||||
@DoNotStrip
|
||||
public static void clearMarkerListener() {
|
||||
sMarkerListener = null;
|
||||
}
|
||||
|
||||
@DoNotStrip
|
||||
public static void logMarker(String name) {
|
||||
logMarker(name, null);
|
||||
|
|
Loading…
Reference in New Issue