Skip to content

Commit 70c7616

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Make ReactHost.createSurface() method non nullable (#47189)
Summary: Pull Request resolved: #47189 ReactHost.createSurface() should not return a nullable surface, I'm changing that here. changelog: [Android][Breaking] Make ReactHost.createSurface() method non nullable Reviewed By: tdn120 Differential Revision: D64910107 fbshipit-source-id: ce8c5efd2c1e36eba0a85ae89cd1cd2a6305e885
1 parent d825a4d commit 70c7616

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native/ReactAndroid/src/main/java/com/facebook/react

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactHost.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public interface ReactHost {
8484
context: Context,
8585
moduleName: String,
8686
initialProps: Bundle?
87-
): ReactSurface?
87+
): ReactSurface
8888

8989
/**
9090
* This function can be used to initialize the ReactInstance in a background thread before a

0 commit comments

Comments
 (0)