From e34c8e3144810284b4c8cf25b51ec42530dc338f Mon Sep 17 00:00:00 2001 From: Anna Powolny Date: Tue, 5 Nov 2024 10:30:02 -0800 Subject: [PATCH] Add missing needsAccessibilityDelegate and copyInto Summary: forgot to add in the pervious diff Reviewed By: pentiumao Differential Revision: D65475080 fbshipit-source-id: 1341ee882e923abdf1147addd436ad06c1b15dce --- litho-core/src/main/java/com/facebook/litho/NodeInfo.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litho-core/src/main/java/com/facebook/litho/NodeInfo.kt b/litho-core/src/main/java/com/facebook/litho/NodeInfo.kt index 41638f6a0d0..37b1c3648d8 100644 --- a/litho-core/src/main/java/com/facebook/litho/NodeInfo.kt +++ b/litho-core/src/main/java/com/facebook/litho/NodeInfo.kt @@ -436,6 +436,7 @@ class NodeInfo : Equivalence { _accessibilityRoleDescription != null || _focusOrder != null || _labeledBy != null || + _minDurationBetweenContentChangesMillis != null || screenReaderFocusState != SCREEN_READER_FOCUS_UNSET fun setFocusable(isFocusable: Boolean) { @@ -834,6 +835,9 @@ class NodeInfo : Equivalence { if (flags and PFLAG_LABELED_BY_IS_SET != 0L) { target.labeledBy = labeledBy } + if (flags and PFLAG_MIN_DURATION_BETWEEN_CHANGES_IS_SET != 0L) { + target.minDurationBetweenContentChangesMillis = minDurationBetweenContentChangesMillis + } } fun copyInto(target: ViewAttributes) {