Reduce visibility of ReactHost.startSurface to package only (#38694)

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

Reduce visibility of ReactHost.startSurface to package only

changelog: [internal] internal

Reviewed By: christophpurrer

Differential Revision: D47915445

fbshipit-source-id: 94f7e1822c4e758815daea24cfe4193e99cd1b7e
This commit is contained in:
David Vacca
2023-08-01 08:55:40 -07:00
committed by Facebook GitHub Bot
parent 2403acfae8
commit 9eabf48c26
@@ -219,7 +219,8 @@ public class ReactHost implements ReactHostInterface {
* @param surface The ReactSurface to render
* @return A Task that will complete when startSurface has been called.
*/
public Task<Void> startSurface(final ReactSurface surface) {
/** package */
TaskInterface<Void> startSurface(final ReactSurface surface) {
final String method = "startSurface(surfaceId = " + surface.getSurfaceID() + ")";
log(method, "Schedule");