EZ: Fix debug mode NPE in non-Fabric
Summary: Fixes a NPE in debug mode. This will only impact developers who have explicitly turned this debug flag on, so it's a very low-pri fix. Changelog: [Internal] Reviewed By: makovkastar Differential Revision: D24410825 fbshipit-source-id: 08c8a0c6d0e0fb7c132725ad6af9460b91a7edf3
This commit is contained in:
Родитель
9c1f0c697d
Коммит
ca4bac5534
|
@ -262,7 +262,12 @@ public class NativeViewHierarchyManager {
|
|||
String className,
|
||||
@Nullable ReactStylesDiffMap initialProps) {
|
||||
if (DEBUG_MODE) {
|
||||
FLog.d(TAG, "createView[%d]: %s %s", tag, className, initialProps.toString());
|
||||
FLog.d(
|
||||
TAG,
|
||||
"createView[%d]: %s %s",
|
||||
tag,
|
||||
className,
|
||||
(initialProps != null ? initialProps.toString() : "<null>"));
|
||||
}
|
||||
UiThreadUtil.assertOnUiThread();
|
||||
SystraceMessage.beginSection(
|
||||
|
|
Загрузка…
Ссылка в новой задаче