diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java index 8277b71a9f010d..6c33e2ee70e2ad 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java @@ -143,7 +143,13 @@ public void shutdown() { private float mBackfaceOpacity; private String mBackfaceVisibility; - public ReactViewGroup(Context context) { + /** + * Creates a new `ReactViewGroup` instance. + * + * @param context A {@link Context} instance. It's Nullable to not break compatibility with OSS + * users (could be made non-null in the future but requires proper comms). + */ + public ReactViewGroup(@Nullable Context context) { super(context); initView(); }