Skip to content

Commit

Permalink
Make ReactHost.createSurface() method non nullable (#47189)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 24, 2024
1 parent d825a4d commit 70c7616
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70c7616

Please # to comment.