From a0403c0626c4048082a2e89c6e16abf5e3c4b5be Mon Sep 17 00:00:00 2001 From: Joshua Gross Date: Fri, 15 Jan 2021 18:51:03 -0800 Subject: [PATCH] Fix MountItem logging Summary: MountItem logging was broken in D25841763 (https://github.com/facebook/react-native/commit/4076293aa1059005704576530d8fe948b85e6a6d), by adding a field that wasn't logged. Fixed here. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D25934390 fbshipit-source-id: 2db4a809b150ad33ddf886db1db6585889bd7013 --- .../fabric/mounting/mountitems/IntBufferBatchMountItem.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/IntBufferBatchMountItem.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/IntBufferBatchMountItem.java index e2c226ede8a..27fa3783dd0 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/IntBufferBatchMountItem.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/IntBufferBatchMountItem.java @@ -231,7 +231,8 @@ public class IntBufferBatchMountItem implements MountItem { } else if (type == INSTRUCTION_UPDATE_LAYOUT) { s.append( String.format( - "UPDATE LAYOUT [%d]: x:%d y:%d w:%d h:%d layoutDirection:%d\n", + "UPDATE LAYOUT [%d]: x:%d y:%d w:%d h:%d layoutDirection:%d displayType:%d\n", + mIntBuffer[i++], mIntBuffer[i++], mIntBuffer[i++], mIntBuffer[i++],