Commit 368a8f2
do not post callback in AnimationBackendChoreographer.kt if featureflag is off (#57326)
Summary:
Pull Request resolved: #57326
## Changelog:
[Internal] - do not post callback in AnimationBackendChoreographer.kt if featureflag is off
AnimationBackendChoreographer is initialized in android regardless of featureflag, and it posts no-op per frame callbacks regardless, which is not ideal
Reviewed By: OlehMalanchuk
Differential Revision: D109607144
fbshipit-source-id: c04b8a45726d555ff7104d902667d7e69f86c0a01 parent 886faee commit 368a8f2
1 file changed
Lines changed: 6 additions & 3 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments