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:
Ramanpreet Nara
2019-12-13 16:08:59 -08:00
committed by Facebook Github Bot
parent 50999b1cf2
commit 4ba466c515
2 changed files with 58 additions and 21 deletions
@@ -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);