diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java index b04af822a..033ea83e0 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java @@ -264,9 +264,11 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements public void setChildren( int viewTag, ReadableArray childrenTags) { - FLog.d( - ReactConstants.TAG, - "(UIManager.setChildren) tag: " + viewTag + ", children: " + childrenTags); + if (DEBUG) { + FLog.d( + ReactConstants.TAG, + "(UIManager.setChildren) tag: " + viewTag + ", children: " + childrenTags); + } mUIImplementation.setChildren(viewTag, childrenTags); }