Commit 0dd9e73
Add @DoNotStripAny to AnimationBackendChoreographer (#55465)
Summary:
Pull Request resolved: #55465
- AnimationBackendChoreographer.resume() and pause() are called from C++ via
JNI reflection in JAnimationBackendChoreographer.cpp, but the class had no
ProGuard/R8 protection annotation
- R8 renames the methods during minification, causing NoSuchMethodError at
runtime when JNI looks up "resume" by name
- Every other JNI-accessed class in the fabric package (FabricUIManager,
ComponentFactory, StateWrapperImpl, EventEmitterWrapper, EventBeatManager,
MountItem) already uses DoNotStripAny — this was the only one missing
changelog: [internal] internal
Reviewed By: fkgozali
Differential Revision: D92628923
fbshipit-source-id: deb7196047e9243cfa702c3d4d96b4431897f0971 parent 1259771 commit 0dd9e73
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
0 commit comments