From de54e8e86a53e252585bae5d13479575de2f08db Mon Sep 17 00:00:00 2001 From: David Vacca Date: Thu, 24 Oct 2024 09:57:17 -0700 Subject: [PATCH] [skip ci] Make ReactHost.createSurface() method non nullable Summary: ReactHost.createSurface() should not return a nullable surface, I'm changing that here. changelog: [Android][Breaking] Make ReactHost.createSurface() method non nullable Differential Revision: D64910107 --- .../ReactAndroid/src/main/java/com/facebook/react/ReactHost.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactHost.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactHost.kt index add1f767f917df..b5a88b70574272 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactHost.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactHost.kt @@ -84,7 +84,7 @@ public interface ReactHost { context: Context, moduleName: String, initialProps: Bundle? - ): ReactSurface? + ): ReactSurface /** * This function can be used to initialize the ReactInstance in a background thread before a