From 729e9d482e1dee20ec9bbda8af615b9b1ef519ec Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Tue, 16 Jun 2026 13:52:32 -0700 Subject: [PATCH] Remove unnecessary inline annotation Summary: This is failing on GitHub CI because of -werror. Changelog: [Internal] Differential Revision: D108792926 --- .../facebook/react/fabric/mounting/SurfaceMountingManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt index b43cdbd20ede..3b5816a7e21c 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt @@ -1124,7 +1124,7 @@ internal constructor( "Unable to find viewState for tag $reactTag. Surface stopped: $isStopped" ) - private inline fun getNullableViewState(reactTag: Int): ViewState? = registryLock.read { + private fun getNullableViewState(reactTag: Int): ViewState? = registryLock.read { tagToViewState[reactTag] }