File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -196,8 +196,6 @@ public class FabricUIManager
196
196
197
197
private boolean mDriveCxxAnimations = false ;
198
198
199
- private boolean mDriveCxxNativeAnimated = ReactNativeFeatureFlags .cxxNativeAnimatedEnabled ();
200
-
201
199
private long mDispatchViewUpdatesTime = 0l ;
202
200
private long mCommitStartTime = 0l ;
203
201
private long mLayoutTime = 0l ;
@@ -1478,7 +1476,8 @@ public void doFrameGuarded(long frameTimeNanos) {
1478
1476
// There is a race condition here between getting/setting
1479
1477
// `mDriveCxxAnimations` which shouldn't matter; it's safe to call
1480
1478
// the mBinding method, unless mBinding has gone away.
1481
- if ((mDriveCxxAnimations || mDriveCxxNativeAnimated ) && mBinding != null ) {
1479
+ if ((mDriveCxxAnimations || ReactNativeFeatureFlags .cxxNativeAnimatedEnabled ())
1480
+ && mBinding != null ) {
1482
1481
mBinding .driveCxxAnimations ();
1483
1482
}
1484
1483
You can’t perform that action at this time.
0 commit comments