[LOCAL] Apply patch on top of #49951 - see pick request 1009

This commit is contained in:
Riccardo Cipolleschi
2025-10-20 13:55:17 +01:00
parent 56ad8d9bfd
commit f2e47d8dab
@@ -685,7 +685,15 @@ public class SurfaceMountingManager {
return;
}
ViewState viewState = getViewState(reactTag);
ViewState viewState = getNullableViewState(reactTag);
if (viewState == null) {
ReactSoftExceptionLogger.logSoftException(
ReactSoftExceptionLogger.Categories.SURFACE_MOUNTING_MANAGER_MISSING_VIEWSTATE,
new ReactNoCrashSoftException(
"Unable to find viewState for tag: " + reactTag + " for updateProps"));
return;
}
viewState.mCurrentProps = new ReactStylesDiffMap(props);
View view = viewState.mView;