mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ReactRootView.createRootView should be @nullable (#45924)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e5d8c60172
commit
6a1ecbb2bb
+1
-1
@@ -70,7 +70,7 @@ public class ReactActivityDelegate {
|
||||
*
|
||||
* <p>Not used on bridgeless
|
||||
*/
|
||||
protected ReactRootView createRootView() {
|
||||
protected @Nullable ReactRootView createRootView() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user