Suppress a kotlin 2.2.0 bug of IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE (#53489)

Summary:
Changelog: [Internal]

Pull Request resolved: https://github.com/facebook/react-native/pull/53489

For error
```
Identity-sensitive operation on an instance of value type 'Int?' may cause unexpected behavior or errors.
```
due to https://youtrack.jetbrains.com/issue/KT-78352/

Reviewed By: cortinico

Differential Revision: D81174630

fbshipit-source-id: c68e3a348e75b7bceb183b77a45b2729f1e70bcd
This commit is contained in:
Tiangong Li authored and Facebook GitHub Bot committed 2025-08-28 10:58:59 -07:00
1 parent 0e1b1ad469
commit 79f0466b45
1 file changed
+1
@@ -38,6 +38,7 @@ import java.util.WeakHashMap
internal class ReactProgressBarViewManager :
BaseViewManager<ProgressBarContainerView, ProgressBarShadowNode>(),
AndroidProgressBarManagerInterface<ProgressBarContainerView> {
@Suppress("IDENTITY_SENSITIVE_OPERATIONS_WITH_VALUE_TYPE")
private val measuredStyles = WeakHashMap<Int, Pair<Int, Int>>()
private val delegate: ViewManagerDelegate<ProgressBarContainerView> =