Fix ClownyBooleanExpression: Add @SuppressLint annotation#55413
Open
mdvacca wants to merge 2 commits intofacebook:mainfrom
Open
Fix ClownyBooleanExpression: Add @SuppressLint annotation#55413mdvacca wants to merge 2 commits intofacebook:mainfrom
mdvacca wants to merge 2 commits intofacebook:mainfrom
Conversation
929da30 to
862e92f
Compare
862e92f to
7b41b8c
Compare
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
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 7, 2026
…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
7b41b8c to
e05a4e9
Compare
mdvacca
added a commit
to mdvacca/react-native
that referenced
this pull request
Feb 7, 2026
…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
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 ClownyBooleanExpression lint warning in FabricUIManager.java.
The expression
false && ReactBuildConfig.DEBUGis intentionally used as adevelopment 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