From 9e664dc144e782e8495d805905bcd3104abc4640 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Mon, 10 Feb 2025 14:12:32 -0800 Subject: [PATCH] Make UIBlock.execute params non nullable Summary: Make UIBlock.execute params non nullable to avoid breaking changes for kotlin usages in OSS changelog: [internal] internal Reviewed By: NickGerleman Differential Revision: D69407325 fbshipit-source-id: 5fc01fba9baba97e21a388d02cf98d5aebb5ac20 --- .../src/main/java/com/facebook/react/uimanager/UIBlock.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt index e4879d46d51..43852f80646 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIBlock.kt @@ -9,5 +9,5 @@ package com.facebook.react.uimanager /** A task to execute on the UI View for third party libraries. */ public fun interface UIBlock { - public fun execute(nativeViewHierarchyManager: NativeViewHierarchyManager?): Unit + public fun execute(nativeViewHierarchyManager: NativeViewHierarchyManager): Unit }