Fix NotInvokedPrivateMethod: Add @SuppressLint for preallocateView#55439
Open
mdvacca wants to merge 3 commits intofacebook:mainfrom
Open
Fix NotInvokedPrivateMethod: Add @SuppressLint for preallocateView#55439mdvacca wants to merge 3 commits intofacebook:mainfrom
mdvacca wants to merge 3 commits intofacebook:mainfrom
Conversation
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 6, 2026
…acebook#55439) Summary: Fixed NotInvokedPrivateMethod lint warning for preallocateView in FabricUIManager.java. This method is called from JNI/C++ code, not from Java, so the lint warning is a false positive. Added SuppressLint annotation to suppress the warning. changelog: [internal] internal Reviewed By: javache Differential Revision: D91840733
facebook#55412) Summary: Fixed DoNotStripAnnotationUsage lint error in FabricUIManagerBinding.kt. The class has many members (external methods like initHybrid, installFabricUIManager, etc.) that need to be kept, so DoNotStripAny is more appropriate than DoNotStrip which only keeps the directly annotated element. changelog: [internal] internal Reviewed By: javache Differential Revision: D91840163
…5413) Summary: Fixed ClownyBooleanExpression lint warning in FabricUIManager.java. The expression `false && ReactBuildConfig.DEBUG` is intentionally used as a development flag that can be easily toggled. The constant false ensures it's disabled in production while making it clear how to enable it for development. changelog: [internal] internal Reviewed By: javache Differential Revision: D91840560
…acebook#55439) Summary: Fixed NotInvokedPrivateMethod lint warning for preallocateView in FabricUIManager.java. This method is called from JNI/C++ code, not from Java, so the lint warning is a false positive. Added SuppressLint annotation to suppress the warning. changelog: [internal] internal Reviewed By: javache Differential Revision: D91840733
f9a1c0a to
1133288
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 7, 2026
…acebook#55439) Summary: Fixed NotInvokedPrivateMethod lint warning for preallocateView in FabricUIManager.java. This method is called from JNI/C++ code, not from Java, so the lint warning is a false positive. Added SuppressLint annotation to suppress the warning. changelog: [internal] internal Reviewed By: javache Differential Revision: D91840733
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Fixed NotInvokedPrivateMethod lint warning for preallocateView in FabricUIManager.java.
This method is called from JNI/C++ code, not from Java, so the lint warning is
a false positive. Added SuppressLint annotation to suppress the warning.
changelog: [internal] internal
Reviewed By: javache
Differential Revision: D91840733