mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make DebugCorePackage a TurboReactPackage
Summary: The NativeModules in DebugCorePackage are now TurboModule-compatible. Therefore, we must make this extend `TurboReactPackage`. Changelog: [Internal] - Make DebugCorePackage a TurboReactPackage Reviewed By: fkgozali Differential Revision: D18974084 fbshipit-source-id: 648b54fefe7f8952666d5a23a9d81cc6bb167b31
This commit is contained in:
committed by
Facebook Github Bot
parent
50999b1cf2
commit
4ba466c515
@@ -17,9 +17,9 @@ import java.io.File;
|
||||
|
||||
// This module is being called only by Java via the static method "captureHeap" that
|
||||
// requires it to already be initialized, thus we eagerly initialize this module
|
||||
@ReactModule(name = "JSCHeapCapture", needsEagerInit = true)
|
||||
@ReactModule(name = JSCHeapCapture.TAG, needsEagerInit = true)
|
||||
public class JSCHeapCapture extends ReactContextBaseJavaModule {
|
||||
public static final String TAG = JSCHeapCapture.class.getSimpleName();
|
||||
public static final String TAG = "JSCHeapCapture";
|
||||
|
||||
public interface HeapCapture extends JavaScriptModule {
|
||||
void captureHeap(String path);
|
||||
|
||||
Reference in New Issue
Block a user