mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make ReactPackageLogger internal (#49236)
Summary: As part of the initiative to reduce the public API surface, this class can be internalized. I've checked there are [no relevant OSS usages](https://github.com/search?type=code&q=NOT+is%3Afork+NOT+org%3Afacebook+NOT+repo%3Areact-native-tvos%2Freact-native-tvos+NOT+repo%3Anuagoz%2Freact-native+NOT+repo%3A2lambda123%2Freact-native+NOT+repo%3Abeanchips%2Ffacebookreactnative+NOT+repo%3AfabOnReact%2Freact-native-notes+NOT+user%3Ahuntie+com.facebook.react.ReactPackageLogger). ## Changelog: [INTERNAL] - Make com.facebook.react.ReactPackageLogger internal Pull Request resolved: https://github.com/facebook/react-native/pull/49236 Test Plan: ```bash yarn test-android yarn android ``` Reviewed By: cipolleschi Differential Revision: D69307159 Pulled By: cortinico fbshipit-source-id: 397be796bc9cc7acd633b461d40fcf1989708b4c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
abb9f4f152
commit
18992d2ebe
@@ -349,11 +349,6 @@ public abstract interface class com/facebook/react/ReactPackage {
|
||||
public fun getModule (Ljava/lang/String;Lcom/facebook/react/bridge/ReactApplicationContext;)Lcom/facebook/react/bridge/NativeModule;
|
||||
}
|
||||
|
||||
public abstract interface class com/facebook/react/ReactPackageLogger {
|
||||
public abstract fun endProcessPackage ()V
|
||||
public abstract fun startProcessPackage ()V
|
||||
}
|
||||
|
||||
public abstract class com/facebook/react/ReactPackageTurboModuleManagerDelegate : com/facebook/react/internal/turbomodule/core/TurboModuleManagerDelegate {
|
||||
protected fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Ljava/util/List;)V
|
||||
protected fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Ljava/util/List;Lcom/facebook/jni/HybridData;)V
|
||||
|
||||
+3
-4
@@ -8,9 +8,8 @@
|
||||
package com.facebook.react
|
||||
|
||||
/** Interface for the bridge to call for TTI start and end markers. */
|
||||
public interface ReactPackageLogger {
|
||||
internal interface ReactPackageLogger {
|
||||
fun startProcessPackage(): Unit
|
||||
|
||||
public fun startProcessPackage(): Unit
|
||||
|
||||
public fun endProcessPackage(): Unit
|
||||
fun endProcessPackage(): Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user