Reduce visibility of ReactHost.prerenderSurface (#38699)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38699

Reduce visibility of ReactHost.prerenderSurface since this is only used from ReactSurface

changelog: [internal] internal

Reviewed By: christophpurrer

Differential Revision: D47915588

fbshipit-source-id: 953b04b531d718434170d63e9f66d22758d26ddf
This commit is contained in:
David Vacca
2023-08-01 08:55:40 -07:00
committed by Facebook GitHub Bot
parent 30a312c25f
commit b28e3c16ed
@@ -200,7 +200,7 @@ public class ReactHost implements ReactHostInterface {
}
/** Initialize and run a React Native surface in a background without mounting real views. */
public Task<Void> prerenderSurface(final ReactSurface surface) {
/* package */ Task<Void> prerenderSurface(final ReactSurface surface) {
final String method = "prerenderSurface(surfaceId = " + surface.getSurfaceID() + ")";
log(method, "Schedule");