Skip to content

Commit

Permalink
ReactRootView.createRootView should be @nullable (#45924)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #45924

Changelog: [android][fixed] Anntate ReactRootView.createRootView with nullable

**Context**

- D54772205 changed `createRootView` to return `null`
- https://www.internalfb.com/diff/D60803470?dst_version_fbid=533309559035246&transaction_fbid=475433162004889

**Change**

- Annotate `createRootView` with `Nullable`

Reviewed By: mdvacca

Differential Revision: D60867547

fbshipit-source-id: 12c325cb9a2dd6db4b2388b2ad3c2af13065d371
  • Loading branch information
shwanton authored and facebook-github-bot committed Aug 7, 2024
1 parent e5d8c60 commit 6a1ecbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ReactActivityDelegate(
*
* <p>Not used on bridgeless
*/
protected ReactRootView createRootView() {
protected @Nullable ReactRootView createRootView() {
return null;
}

Expand Down

0 comments on commit 6a1ecbb

Please sign in to comment.