Commit 485bbda
Fix ReflectionMethodUse: Remove reflection in AnimationDriver error message (#55359)
Summary:
Pull Request resolved: #55359
Fixed ReflectionMethodUse lint error in AnimationDriver.kt.
Replaced `javaClass.simpleName` with a hardcoded string to avoid reflection
which can cause issues with Redex obfuscation in production builds.
changelog: [internal] internal
Reviewed By: javache
Differential Revision: D91736698
fbshipit-source-id: 9e6c485825aa8e54e5bbdc2d8d872510f3150c4a1 parent de59948 commit 485bbda
1 file changed
Lines changed: 1 addition & 3 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
40 | 38 | | |
41 | 39 | | |
0 commit comments